Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Is there a keystroke that can lock the Mac OS X screensaver?

Is there a keyboard shortcut for locking my screen?

share|improve this question

marked as duplicate by Arjan, random Nov 29 '10 at 19:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Possible duplicate of Is there a keystroke that can lock the Mac OS X screensaver? (and its many duplicates that are listed in the "Linked" section in that question). – Arjan Nov 29 '10 at 11:56
up vote 5 down vote accepted

Here's another way that does not require additional software: Go to System Preferences - Security - Require password immediately after sleep or screen saver begins.

You can then use ctrl-shift-eject to sleep your monitor, and a password will be required to bring it back.

share|improve this answer
Ctrl-Shift-Eject on my Macbook Pro – Daniel Beck Nov 29 '10 at 11:10
Nice! Though in general I wouldn't recommend duplicating answers: what about posting this at Is there a keystroke that can lock the Mac OS X screensaver? too? There is some answer there that mentions the keystroke, but that is missing the actual locking. (I could edit your answer into that one, but well...) – Arjan Nov 29 '10 at 12:06
Can anyone try this on a machine without an optical disc drive (hence: on a new machine that has Eject replaced with the power button)? – Arjan Nov 29 '10 at 12:18

Try Macloc, and then assign it a keyboard shortcut

About MacLoc This simple application activates the Fast User Switching feature built-in to Mac OS X. After clicking on MacLoc, it will appear that you’ve logged out, however upon entering your username and password, all open documents and applications will be right where you left them. MacLoc is the perfect solution when you need to step out of the room for a moment.

share|improve this answer
Nice. I wonder if this also uses the same screen that Fast User Switching uses (which then actually does reveal that one is actually logged in)? (To assign a keyboard shortcut to the built-in Fast User Switching also see the duplicate questions.) – Arjan Nov 29 '10 at 16:48

Here is a guide on how to do it: How to lock your Mac with a keyboard shortcut.

share|improve this answer

If you're using Windows XP, press the Windows logo key + L to lock your computer.

share|improve this answer
It's tagged with "osx", I don't think he's using Windows XP. – Daniel Elessedil Kjeserud Nov 29 '10 at 11:03
Ye gods. My bad; I so didn't even notice. I need to go to bed. – goblinbox Nov 29 '10 at 11:08
The downvote isn't mine, but: each post does have a "delete" link...! – Arjan Nov 29 '10 at 11:58

Not the answer you're looking for? Browse other questions tagged .