Forcing Crouch

Is there a way to force the crouch and make a player stay crouch till said to be able to stand up?

I would think it would use aliasing commands for +crouch and -crouch but it can be done in Lua I would expect.

A hacky way to do it would be console commands, but try searching the wiki for inputting a key.

Is there not a way to do it with ACT_CROUCH, I tried SetAnimation() but it didn’t do anything.