NB! It seems this console command is not compatible with CS2.
Command Profile

-MOVEDOWN

CS:GO

This command will deactivate the +movedown command (will stop you or your camera from moving downwards).

Syntax
-movedown

Description

This command will deactivate the +movedown command (will stop you or your camera from moving downwards).

Syntax And Arguments

-movedown