How to enable and disable pages in dashboard 2.0?

Thanks for your help gentlemen. I'll try to explain better what the problem is.

Objective - I want to create an automation to disable the page from such time to such time.

How I'm doing it - Injectc with time stamp hitting a function that disables and another that enables the page.

Problems encountered.

1 - The disabled page does not become inaccessible. I can still access it via direct link.
2 - The invisible page is still visible if I access it via direct link.
3 - I can't disable the page by sending payload like the documentation and just like I showed in the previous examples.

Summary. There is no point in disabling or making the page invisible if I type its address directly.

How to adjust?

I have a login page that, when displayed, leaves the activation panel disabled. When the correct password is entered, it enables the panel and directs the user to the panel. When we click logoff, the automation disables the panel back to the login page.. but none of this works because if I access the direct link, everything is still there, completely ignoring visibility or activity.