I have 2 questions and i need help Please

how can i disable input for the duration of a action For example when i Jump untill i land on ground i will not be able to do any other move like Crouch of move
and second question i try to make a smooth move camera crouch on sidescroller but when i do it based on the examples here my character goes inside the ground because of the capsule “i guess” is there any way to say to the capsule to start crouching not from the middle of the char but from the legs ?