A menu bar app for macOS

Your Mac locks when you walk away.

AwayLock follows the Bluetooth signal of your Apple Watch or iPhone. Step away and your Mac goes to the real macOS lock screen in seconds. Come back and it can unlock itself for you.

Open source. Runs on macOS 13 Ventura or later. Notarized by Apple. No account, no tracking.
Apple WatchNear, -54 dBm
Try it

Walk away. Watch it lock.

Drag your watch away. Past the lock line, a countdown starts. Come back in time and nothing happens.

07:26
At your deskLock line: -75 dBmAcross the room
Near

Your watch is close. The Mac stays unlocked and won't idle to sleep.

Signal-56 dBm
Unlocks again above-67 dBm
Lock after away for
The same setting as in the app. A wobbly signal between the two lines never starts or stops a countdown on its own.
Unlock when I come backAfter 3 s back in range
Features

Locks for real. Unlocks when you're back.

9:41Enter Password

The real macOS lock screen

The same lock as ⌃⌘Q. Your Mac stays locked until you prove it's you.

Not a screensaverNot a display-off trick

Auto-unlock when you return

Turn it on and your Mac unlocks once your watch has been back in range for 3 seconds.

  • Only reopens locks AwayLock made
  • Confirms the lock screen before typing
  • Password stays in your Keychain. Off by default.

Your watch is the key

Apple Watch, iPhone or a Bluetooth band. No companion app.

Never locks at your desk

A wobbly signal can't lock you out mid-sentence.

Stays awake while you're near

No idle sleep while your key is close.

Light on battery

Barely registers in Activity Monitor.

One catch: it's not on the Mac App Store, for now. The App Sandbox blocks both the real lock and auto-unlock, so AwayLock ships directly, signed and notarized by Apple.Why?
Set up

Ready in under a minute.

  1. 1

    Pick your key

    Choose your Apple Watch or iPhone. No pairing, no phone app.

  2. 2

    Set the distance

    Stand where it should lock and press "Set from where I am now".

  3. 3

    Forget about it

    It lives in the menu bar, starts at login and stays out of your way.

Privacy & open source

Nothing about you leaves your Mac.

No accounts, analytics or cloud. AwayLock keeps one device ID and your settings on this Mac, and only goes online to check for updates. The code is public, so you can check.

Read the source on GitHub
  • No signal? It locks.
  • Auto-unlock is opt-in, and your password stays in the Keychain
  • Updates are signed and verified

Questions

Does it unlock my Mac when I come back?

Yes, if you turn it on. After 3 seconds back in range, AwayLock confirms the lock screen is showing and enters your password from the Keychain. It only reopens locks it made. It's off by default, since a relayed Bluetooth signal could fake "near".

Is it a real lock?

Yes. The same macOS lock screen as ⌃⌘Q, not a screensaver or a dark display that wakes with a key press.

Do I need an app on my phone or watch?

No. AwayLock reads the Bluetooth signal your devices already send. Apple Watch and iPhone work best, and many bands work too. AirPods count as away when the case is closed.

Why isn't it on the Mac App Store?

The App Sandbox blocks both the real lock and the Accessibility access auto-unlock needs. So AwayLock ships directly, signed and notarized by Apple, with signed updates.

Is it open source?

Yes. Read it, build it, or send a pull request on GitHub.

What do I need?

A Mac on macOS 13 Ventura or later. Windows? Maybe later.

Get AwayLock

For macOS 13 Ventura or later.

Download for MacmacOS 13 or later
Hmm, maybe later. Windows hasn't learned to miss you yet.
It's open source, so you can build it yourself from GitHub
Enjoying AwayLock? Buy me a coffee
It's free and open source. Tips help me keep working on it.