You would have to set a variable (AllowedToMove) and state that when AllowedToMove = true
Left Button is down >> Simulate Left
Right Button is down >> Simulate Right
and so on. And then tell that variable to be false when the movie is playing and true at the end of it.
If Movie is playing >> AllowedToMove = false
If Movie has stopped >> AllowedToMove = true