How to Accomplish This?

Why not just put your movement inputs through a branch driven by an attribute that indicates whether you can move or not?
Only movement input, not mouse camera.