How do I make it so the camera stops following player?

Hi, how do I make it so when the player triggers an event the camera will stop following the player and will instead stay like that forever until triggered to go back to focusing on the player? (The player should still be able to move when the camera isn't following them)
I think you might have to use a script. Could Hime's Camera Target help?
and what should happen if the player moves outside the camera screen?
I think you might have to use a script. Could Hime's Camera Target help?
Doesn't seem to help, sorry, 🙁 This seems to be for focusing on a party, my request is for a way to make it so the camera will stop following the player whilst the player is still able to move.
and what should happen if the player moves outside the camera screen?
Nothing unless the event calls for something else to happen, in my case I want to transfer the player to a different map after 30 frames or so, camera movement stopping will be a visual touch that I'm trying to do.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-it-so-the-camera-stops-following-player.175391/