Ask Different is a question and answer site for power users of Apple hardware and software. 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

Is there a way to disable the screen lock on my Mac, only when certain conditions are met? I'm looking for a way to have it stop locking when connected my home network (i.e. at home)

share|improve this question
up vote 5 down vote accepted

How about something like ControlPlane?

ControlPlane allows you to build configuration profiles, contexts in ControlPlane lingo, for your Mac based on where you are or what you are doing. ControlPlane determines where you are or what you are doing based on a number of available evidence sources and then automatically reconfigures your Mac based on your preferences. Evidence sources can include your current location, visible WiFi networks, attached USB devices, running applications and more.

You should be able to build an evidence source, such as being connected to the name (SSID) of your home router, then run an application (like Caffeine) or a script to prevent/turn off the screen lock.

share|improve this answer
ControlPlane supports 32 and 64bit Intel based Macs running Snow Leopard through Lion. So it looks like ML is unsupported. – segiddins Nov 25 '12 at 15:11
@segiddins Yep. It does look like ControlPlane isn't fully working under ML at present – binarybob Nov 25 '12 at 23:35
Perfect! Works on Mountain Lion too – pufferfish Nov 28 '12 at 5:21
...and Yosemite, and El Capitan. I've been using this for years now and happy – pufferfish Oct 16 '15 at 9:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.