Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.6: Another way to lock your screen System 10.6
Snow Leopard only hintSecurity is a requirement at my workplace, and I noticed all my Windows using colleagues quickly lock their screens with a key combination before getting up to leave their desks. When they return, they need their username and password to resume their working session. There are multiple ways to lock your screen on the Mac, but this one takes the cake for me, as it mimics the same easy get-up-and-go process Windows users enjoy.

The first step to this hint is to configure your Mac to require a password to wake from sleep of screensaver. You can enable this setting in System Preferences in the Security control panel. Once there, choose the General options tab and check the box to 'Require password x minutes after sleep or screen saver begins.' Set the variable time to immediately require a password.

At this point, you may want to take some time to review and adjust your Screen Saver settings, and your Energy Saver settings, as this security option will also be triggered when just your display goes to sleep normally.

Quit System Preferences and you're ready for the final piece of this hint.

Next time you get up from your Mac to run to a meeting or the bathroom or whatever, fire off this keyboard combination:

Control+Shift+Eject

This is actually a shortcut to sleep your computer display, but now has the side effect of locking your screen and requiring a password to resume your session.

[crarko adds: I tested this, and it works as described. It's basically a variation of this previous hint, but has the advantage of using a default keyboard sequence. There's a number of ways that have been offered to do the screen locking, and this hint is another alternative.]
    •    
  • Currently 3.61 / 5
  You rated: 2 / 5 (18 votes cast)
 
[24,307 views]  

10.6: Another way to lock your screen | 19 comments | Create New Account
Click here to return to the '10.6: Another way to lock your screen' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Another way to lock your screen
Authored by: rexroof on Jan 05, '11 08:21:07AM

awesome, thanks for this, I didn't know that key combo.

I've always used the expose hot-corner settings to make one of my corners sleep the display.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: donmoemu on Jan 06, '11 05:34:32AM

Hot corners are so natural to use for this task. I use the lower right corner on my MBP to activate the screen saver and lock to screen immediately.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: Reaperducer on Jan 05, '11 09:10:57AM

Even faster, easier, and quicker than a keyboard shortcut is to set a hot corner to activate the screen saver and password. Then when you leave your computer, you just have to move the mouse into a corner, instead of fumbling for a strange key combination.

And if you accidentally end up putting the mouse in a corner, OS X gives you enough of a grace period (about 2 seconds) to move it again so you don't end up accidentally locking yourself out of your computer while you're working.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: mmnw on Jan 05, '11 11:50:41PM

I actually used this method for over a year, but found it a bit unreliable. The problem is the grace period. Often during getting up or leaving my desk, I accidentally move the mouse again and the screen isn't locked anymore.

So, this shortcut is a welcome alternative. Also, there are many people who work more with their keyboard than their mouse.

And the combination isn't that awkward, it's three keys at the exact opposite of the keyboard. It is neither hard to use nor hard to remember.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: TvE on Jan 08, '11 03:01:35AM

How can it be faster if you're not using the mouse!!!???

If you're a mainly-mouse-user then perhaps, but when you (as me) is a mainly-keyboard-user then a shortcut corresponding to the Windows functionality of WIN-L is way faster!!!



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: gballey on Jan 05, '11 10:03:21AM

And if you want to put the entire Mac to sleep instead of just putting the screen to sleep, use OPT-CMD-EJECT.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: Anonymous on Jan 05, '11 10:31:14AM

Excellent tip but my precious eject key is currently remapped to F14.
My current solution is also using a hot corner while pressing control.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: prijker on Jan 07, '11 03:09:06AM

You can remap Eject to F14 AND keep Eject functions with KeyRemap4MacBook, at least with last version 7.0



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: Anonymous on Jan 08, '11 02:56:51PM

That would be nice but I am using KeyRemap4MacBook 7 with my iMac and there is no more eject once remapped to F14. However there is for Eject to F13 and Fn Eject to eject.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: morespace54 on Jan 05, '11 02:35:52PM

While we're reviewing our keyboard shortcuts ;)

Here's a few more :

  • Shift-Command-Q: Log Out
  • Option-Shift-Command-Q: Log Out immediately
  • Control-Eject: Show shutdown dialog
  • Option-Command-Eject: Put the computer to sleep
  • Control-Command-Eject: Quit all applications (after giving you a chance to save changes to open documents), then restart the computer
  • Control Option-Command-Eject: Quit all applications (after giving you a chance to save changes to open documents), then shut down the computer

 

http://support.apple.com/kb/ht1343 (most haven't changed)



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: The - DDD on Jan 05, '11 03:35:04PM

Actually, beware, from my obsrevations the CTRL + SHIFT + EJECT combo only sleeps the screen. Untill my screensaver's regular activation time has expired, my system will not require me to enter a password when I get back.

Anyone else seeing this?



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: mingo on Jan 05, '11 05:25:39PM
Another possibility is to run the AppleScript:

do shell script "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend"

One could save this as an AppleScript "Application" and then put this script in your Dock, then with one click lock your screen. As a bonus one gets the "rotating cube" effect.

[ Reply to This | # ]

10.6: Another way to lock your screen
Authored by: gullevek on Jan 06, '11 02:12:59AM

Although this is a nice "hack" for the screensaver, it is not the ideal solution if you use a lot of terminals with remote connections.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: drebes on Jan 06, '11 05:25:50AM

I lock the screen from the menu bar.

If you go into Keychain Access preferences, and check "Show Status in Menu Bar", your menu bar will show a small padlock, with a few security related options, including "Lock Screen".



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: asmeurer on Jan 07, '11 05:04:34PM

Now that I know this keyboard shortcut, I can remove that thing from my menubar, clearing up a little space.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: ragmaxone on Jan 06, '11 06:42:35AM

I also prefer to use the left-down corner to shut the screen down.
I prefer this way of locking a computer from the Windows way because your screen don't stay on for nothing :)



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: asmeurer on Jan 07, '11 05:03:07PM

This way is faster, because it doesn't load the screensaver.

On the other hand, if you want to have a screensaver, you have to use the screen corner method.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: trailstrider on Jan 10, '11 09:19:11AM

This actually doesnt always work as advertised. I've got my computer set to require password from screensaver and sleep, but when locking with the keychain access or this shortcut key, it doesnt actually lock anything. the screens go blank. even when waiting an additional 30 seconds, the screen is still not locked, only blank. Hitting a key or moving the mouse brings everythign back up without asking for a password. Im not sure why this is different on my machine. But its brand new out of the box too.... go figure.



[ Reply to This | # ]
10.6: Another way to lock your screen
Authored by: ChicagoBubba on Feb 09, '11 12:38:49AM

Hello Everyone!

I'm new to the world of Mac, almost one year now. I was a PC tech for many years and was used to locking my computer when I walked away from it. This was one of the first things I looked for the first day I got my iMac. It was right up there in the Apple menu.

I love how OS X is so simple and easy, but I'm shocked that there are so many long-time Mac users who don't realize or understand what the symbols in menus mean.



[ Reply to This | # ]