Boundary system?

This is a little hard to explain but I'll do my best. Is there a way to set up a sort of boundary system? I'm not even sure if that's what you'd call it to be honest. So let's say I don't want a character to go somewhere just yet. Can I make a message pop up and be like "I need to go to this place instead?" Then after I go to the preferred place it will open up the path to the other area.

Example: The game opens up with the MC in his house and he says something like, "Oh man, I was supposed to meet my friend at the church over an hour ago." After this you get to move. Upon exiting the house though I need them to go left towards the other part of town which leads to the church but I have a path that leads out of the city into the world map directly south from the MC's house. Can I make it so if the player tries to leave the city at this time a message will pop up to say, "This isn't the way to the church?" or "I shouldn't go this way just yet?"

If it is possible then how would I make it so once I go to point A the message doesn't pop back up and the game will then let me have access to point B?
That can be done with simple eventing and switches. I suggest you look at some of the basic tutorials.
I was going to say there was a way to make a boundary using regions which can keep events from crossing over. But for what you're asking for, I agree with Tridium.
If you want to try it:
Spoiler: Try this
You'll need to make your event and add the text you want and make the event
Placing event.PNG
And make it same as characters ( below will make them be passable and above will float above the player character).
THEN, You'll want to make the 2nd page.
Placing event1.PNG

To better understand, it's best to look at tutorials and create simple examples until you understand switches better. If you want more than one event it's best to make a Switch instead of a self switch so several events can use that to say 'The player has completed this part of story, now all of these places are open".

SELF SWITCHES are for the event themselves, they are not for other events. Switches (There's two below conditions) are ones that any event can access and check.
I hope this helps a little.
You'll need to...
That seems backwards. You'd want the first page to have the "Stop now" message, then the second page once the player progresses in the storyline is entirely blank.

On the first page, if you do make the priority same as characters, make sure the trigger is player touch.

I suggest using a game switch or variable as the condition for the second page, as you have no way to control the self switch of a different event without using script calls, and I'd second @TRIDIUM's suggestion that you shore up on the basics first.
That seems backwards. You'd want the first page to have the "Stop now" message, then the second page once the player progresses in the storyline is entirely blank.

On the first page, if you do make the priority same as characters, make sure the trigger is player touch.

I suggest using a game switch or variable as the condition for the second page, as you have no way to control the self switch of a different event without using script calls, and I'd second @TRIDIUM's suggestion that you shore up on the basics first.
Actually yes! Sorry about that. I meant Page 1 is the 'stop' page and page 2 is the 'go' page. Your way is more straightforward and easier to do. Keeping it simple to easily track.

GuardianofRidgewood: Search for a video tutorial if written instructions are confusing to follow and good luck!
@Kaeki Looks good to me!
@Kaeki Looks good to me!
Thank you very much ( Sorry for edit! Think I understand the forums again now)

Hey GuardianofRidgewood, I found a tutorial from Driftwood Gaming that goes over switches. It's called "RPG Maker MZ The Basics - How to use Switches Tutorial" And about 5 minutes in you can see them adding switch to a page 2.

Original thread: https://forums.rpgmakerweb.com/threads/boundary-system.163588/