Straylock is a convenience. It can miss a walk-away, and it can lock when you haven’t left.
Force-quitting the iPhone app stops it
iOS keeps a force-quit app stopped until you open it again, and your Mac can't see your iPhone until then. Turning Bluetooth off on the iPhone locks the Mac, as if you'd walked away.
Walls and pockets change the signal
A wall, your body or the way the iPhone sits can weaken the signal as much as distance does. The starting lock distance is a guess. Drag the lock distance slider in Settings to suit your desk.
A phone left on the desk keeps the Mac unlocked
Straylock follows the iPhone, not you. If you walk away and leave it behind, the Mac stays unlocked.
Some Macs need one setting changed
Straylock has two ways to lock. If a lock ever fails, the app asks you to set "Require password after screen saver begins or display is turned off" to Immediately, in System Settings, Lock Screen, and takes you there.
It can't unlock your Mac
macOS has no supported way for apps to unlock a Mac. Some apps get around that by storing your password; Straylock doesn't ask for it. Your iPhone can lock the Mac but not unlock it. Touch ID or your password does that.
A macOS update can break locking
Apple can change how apps lock a Mac in any update. Straylock has two ways to lock, and you can test them with the lock button in the iPhone app. That is also why the Mac app is not in the Mac App Store. It needs macOS 14 or later and iOS 17 or later.
Doesn't my Mac already do this?
Not quite. Your Apple Watch can unlock your Mac when you're nearby, but macOS has nothing that locks it when you walk away. The closest options are a short screen saver timer or a Hot Corner. Straylock locks it when your iPhone moves away.
Can I unlock by knocking?
Sadly no. Knock to Unlock did that, and we were fans. These days iOS puts background apps to sleep and there's no way for a third-party app to unlock a Mac, so Straylock sticks to locking it when you leave. You unlock it as usual.
How does it work?
Your iPhone sends a Bluetooth signal. The Mac app checks its strength every second and locks when it stays weak for about 10 seconds. A few seconds before, your iPhone gets a heads-up, so you can say you're still there. Locking happens on your Mac and doesn't need the internet.
Does it use my location?
No. Straylock uses Bluetooth only and doesn't ask for location access, so it can't see where you are.
Does the iPhone app have to stay open?
No. It runs in the background. Don't force-quit it, because iOS then stops it until you open it again.
Will it lock while I sit at my desk?
It shouldn't. Straylock smooths the signal and waits for it to stay weak before it locks. Bluetooth is noisy, though. If your iPhone warns that the Mac is about to lock and you haven't moved, tap Still at my Mac. You can also move the lock distance slider in Settings.
Can I lock it from my iPhone, or pause it?
Yes. The iPhone app has a button that locks your Mac right away, while the two are in Bluetooth range. It can't unlock it: macOS has no supported way for apps to do that. You can pause Straylock for 15 minutes, an hour, 4 hours or until you turn it back on, from either device.
Do I need an account?
No. Straylock has no sign-in and no password: you pick a plan in the iPhone app with your Apple Account.
What will it cost?
Free for 14 days, no card needed. After that, the Mac stops locking by itself until you pick a plan: $12 a year, $3 a month or $60 once, bought in the iPhone app. Those are US prices; Apple sets them in other countries. Subscriptions cancel in your iPhone's Settings, like any other.
Straylock is one product: the Mac and iPhone apps work together, and one plan covers both. You pick it in the iPhone app. After the 14 days, the Mac stops locking by itself until you do. Prices are in US dollars; Apple sets them in other countries.
Free trialEverything included, no card needed.
14 daysYearly
$12 a yearMonthly
$3 a monthLifetimeOne purchase, no renewals.
$60 once