Posted: Oct 10, 2017 10:15 pm
by The_Metatron
I finally found someone who understood the problem and found the solution.

What I sought was a keyboard shortcut that would instantly take the computer to the login window (assuming fast user switching is enabled). A fellow with a username of Ant on macyourself.com wrote an article, How to lock your Mac screen with a keyboard shortcut.

Ant wrote:When you need to temporarily leave your Mac unattended, it’s a hassle to put it to sleep and wake it up again. What’s the quickest way? Set up a simple keyboard shortcut that shows your Mac’s login screen without logging you out.

...


It's instructions to use Automator to create a little shell script, then modify the keyboard shortcuts in system preferences to run that script.

Command-L, as I stand up from my desk. Sweet.