How to Automatically Lock and Unlock an iPhone and Mac

Keeping a mobile device safe is something many people worry about. But if you have an iPhone or iPad, any Mac’s security can be enhanced when paired with the Keycard app.

The way the Keycard app works is when the iPhone or iPad is connected to the Mac computer via Bluetooth. The mac’s screen automatically locks when the user moves away from their computer with the device in hand.

This is a great help for those who work in cafes or use their Macs frequently in public places. Automatic screen locking provides an additional barrier to thieves who might want to steal information from a user’s laptop. It may not prevent them from stealing the laptop, but Keycard provides a good step to keep your information private.

How to Install Key Card?

The Keycard app is available on the Mac App Store, follow the steps below to install it.


In the upper right corner, use the space to type and press r.

Search Key Card

Select the highlighted app on the results page:

Select Key Card

Select on the next page

buy app

Once the app is finished downloading and installing, locate it in the Applications folder and

Open Key Card

Once the app is opened, it needs to be configured to work with the user’s iPhone. The application window will appear as follows:

Configure KeyCard

Select to set keycard

Open System Preferences


tap on bluetooth

Make sure you have Bluetooth and then tap in the lower left corner.

Set up new device

The iPhone should also be ready to pair with the Mac. Tap on iPhone

Tap on Settings

On the next screen, select

Tap on Bluetooth (iPhone)

Make sure it is set to .

Going back to the Mac, the name of the iPhone should appear as a Bluetooth device. Select and tap this iPhone.

choose iPhone

The computer will generate a code and the user has to compare it with the code on the iPhone screen as follows:

Compare Codes

As long as the codes match, tap .

pair iPhone

Once the iPhone is successfully paired with the Mac, it will display the above window and the user can

In relation :  How to Get iPhone Notifications for Almost Anything

Pairing Successful

Click the Key Card icon in the top bar and select in the top right of the window.

Tap Keycard Settings


add a new device

Select and tap iPhone.

connect iPhone

Enter your iPhone’s 4 Digit passcode. This is also a good time to check if the Keycard app is always ready to use.

enter password

When the Keycard app is properly configured with the iPhone, it will show that it is connected to the device.

connected to iPhone

This screen will appear when the user now moves away from their Mac, effectively locking the screen:

auto lock

It usually locks when you are about 10 feet away from the computer. When you approach the computer, the application will recognize that you are back and automatically unlock it.

The app does a pretty good job of locking and unlocking, but it can be a little buggy at times. It is possible to enter the password manually if the computer does not automatically unlock it. The biggest issue I’ve had with the app so far is the random locking and unlocking of the screen at close range. Overall, the experience with the app is good, but there are still a few issues to work on.