I have recently migrated from 8G old MacBook Pro to 16G Mac Mini for my work station in our office. When I was using MacBook Pro, I simply close the laptop and took home, so never need to worry about locking screens when I leave. However, I can’t take the new Mac Mini with me, but I don’t want to leave the screen open after I leave work in the evening, so I need to know the keyboard shortcut to lock the screen under 1 second.
Here is the shortcut:
⌃ + ⇧ + ⏏ (Control + Shift + Eject)
According to John-Paul Bader, it was available since Mac OS 8.
If you want to learn more Mac shortcuts, here is the link, thanks to Dan Rodney.