Block keyboard input when `game_state` is not `Play`