This is a really big MTA problem. In MTA when you play animation on ped / player It was always be frozen and he can't move. You can work around this but this way sucks too.. but working. This way is using binds and setControlState function.
Look at my video.