Sim pauses when you lock your computer

Hello, I have noticed that when you lock your computer mid flight it pauses the sim, essentially as if you pressed the escape key.

Has anyone discovered a setting or a work around to stop this from happening. On long flights I like to leave the computer / house with out the spying eyes of my household from accessing my computer with out my knowledge.