How do I make the player freeze until he presses again action button?

I'm making a simples interaction that the player uses the action button in a pot, then he talks something and a image appears on the screen. How do I make so the player cannot move and the image is still on the screen as long as until he presses the action button again, so the image dissapears and the player can walk again?

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-the-player-freeze-until-he-presses-again-action-button.148847/