Let Esc, F10 become in-game buttons
To let [Esc] become part of the in-game buttons:
After 9999666 milliseconds the bazooka will fire/(random warrior will arrive) automatically, just use some triggers to cancel the bombing or the arrival of random warrior at that moment. Can also use defeat/victory/other triggers if the mission reaches the 9999666th millisecond.
To let [F10] become part of the in-game buttons:
When 'power overwhelming' or 'black sheep wall' or 'staying alive' is enabling, actually it will need several seconds for the human player to re-type the cheat for disabling it. Use the ways shown at the article 'List of single-player cheats in StarCraft' to detect these cheats. If a human player cannot disable (one of) these cheats quickly, defeat... the only way to competently disable (one of) these cheats is using [F10], [save], then [load] the scenario.
With 'staying alive', any defeat trigger + preserve trigger will still never make a player defeat. If the player uses [F10], [save], [load], the cheat 'staying alive' will be gone then the player will lose unless The CONDITIONS are no longer be, such as a slain Zeratul Hero has been being on the map again.