Rather than doing it that way, I would be inclined to give your player a "state" (which could be closely related to the animation - you could actually *use* the animation Name if you wanted but it's a hack you might regret) - alive / dead / whatever as an instance variable, and only move when the player is alive.
To physically stop it working you can enable/disable the 8Direction behaviour (depends how you are moving your player)