Skip to main content

Lock and Unlock a Mac

If a Mac is lost or stolen, lock it from Swif. The Mac restarts, and can't be used until someone enters a six-digit PIN. This protects its data, even if someone else has it.

For iPhones and iPads, see Lock an iPhone or iPad, and Use Lost Mode.


What happens when you lock a Mac

  1. Swif sends the lock to the Mac. The Mac needs to be online to receive it.

  2. The Mac restarts, and shows a lock screen, with your message, if you added one.

  3. The Mac can't start macOS until someone enters the PIN. Swif creates the PIN, and shows it in the console.

Mac

Requirement

Apple silicon

macOS 11.5 or later. On earlier versions, a locked Mac restarts to recovery, where an administrator must sign in, and activate it.

Intel

Any macOS version Swif supports

A lock can't be undone remotely. To use the Mac again, someone must enter the PIN on it.


Lock a Mac

You can lock:

  • One Mac: open it in Swif, click Manage, and choose Lock.

  • Several Macs at once: select them in Device Inventory, and choose Lock.

  • A whole device group: lock it from the group's page.

Add a short message, such as a phone number to call, to show on the Mac's lock screen.

To lock only one user's account, rather than the whole Mac, use Account Lock instead.


Unlock a Mac

  1. In Swif, open the Mac, and click Unlock, to see its PIN.

  2. On the Mac, enter the PIN.

    A Mac showing that recoveryOS is locked.

The Mac restarts into macOS.

If you can't type the PIN, for example because the keyboard doesn't respond, restart the Mac while holding Command (⌘) + R, then try again.


Other ways to protect a lost Mac

Feature

What it does

Activation Lock

Stops anyone else activating, and using, a lost or stolen Mac. See Managing Apple Activation Lock with Swif.

Wipe

Erases the Mac, if it can't be recovered


Troubleshooting

The Mac didn't lock

The Mac needs to be online to receive the lock. It locks the next time it connects.

An Apple silicon Mac asks an administrator to sign in, instead of a PIN

The Mac runs macOS 11.4 or earlier, which doesn't support a lock PIN. An administrator signs in, and activates the Mac.

I can't type the PIN

Restart the Mac while holding Command (⌘) + R, then enter the PIN.


Related resources

Did this answer your question?