A "Pause System" button

I'm trying to figure out how to Pause a system including all timelines and triggers. Basically lock the controller in it's current state regardless of any triggers (real time, astronomical, etc) until it is released. I can't seem to find the right combination of actions or script syntax to do it. Anyone written a script to do something like this before?

Related