This question already has an answer here:

I want the ability to lock my Macbook at my command. I don't want a screensaver or sleep lock. Don't you get tired of repeatedly typing in your password in all day? I don't want to wait for my computer to lock itself in 10 minutes or 1 minute when the screensaver or sleep begins. I don't want to save and close all my apps and documents and logout.

So just let me lock my computer, simple request. Hit a hotkey? Close the lid?

I walk out my door, I lock my door. I get out of my car, I lock my car. Why can't I just lock my computer?

I've been told you can't reconfigure this type of setting in OS X, is this true?

marked as duplicate by grg, bmike Dec 26 '13 at 14:00

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.

migrated from programmers.stackexchange.com Feb 26 '13 at 23:29

This question came from our site for professionals, academics, and students working within the systems development life cycle.


On a Macbook, pressing ctrl+shift+Eject will lock the screen instantly. These keyboard shortcuts are configurable from System Preferences.

  • Control-shift-power just powers off the screen on my MacBook Pro - so you'll need additional settings like a password lock screen that requires a password immediately for this to be a good instant lock. – bmike Feb 26 '13 at 23:43
  • thanks, but so far these solutions are dependent on screensaver/sleep locks, which I don't care for. I want to circumvent the incessant entering of my password for every 5 minutes I'm away. Just want to lock and unlock on my own terms. – user43855 Feb 27 '13 at 0:46
  • How about disabling the screen saver lock, and setting your security preferences to require an unlock when the system comes out of sleep? – fluffy Feb 27 '13 at 21:29