The App SandBox ate my code...
You can select a hotkey to use so that at any time you can simply press that key combination and lock your Mac.