For example my game object is climbing a ladder and a climbing animation is played at the same time. If the game object stops at the middle of the ladder, I want the climbing animation to be paused at current animation pose at the moment.
animation["Walk"].speed = 0;
This seemed to work for another user.