How to Lock an iPhone and Change Auto-Lock

Your iPhone locks automatically after a period of inactivity, and you can also lock it immediately with the Side button. Changing Auto-Lock lets you control how long the display waits before turning off and requiring normal unlock behavior.

Current iPhone Guidance

The core procedure remains useful, but current iOS wording and feature limitations should take priority over older menu labels or assumptions elsewhere in the article.

Lock the iPhone immediately

Press the Side button once. The display turns off and the phone locks according to your passcode and security settings. On older iPhones, the sleep/wake button may be in a different physical position.

Change the Auto-Lock time

  1. Open Settings.
  2. Tap Display & Brightness.
  3. Tap Auto-Lock.
  4. Choose the amount of idle time you want before the display locks.

A shorter time can reduce unwanted access and save some battery power. A longer time can be convenient when you are reading or following instructions without touching the screen.

Why Auto-Lock may be grayed out

Low Power Mode can affect the Auto-Lock setting and may force a shorter interval. Turn off Low Power Mode temporarily if you need to change the setting. Work or school management policies can also restrict lock timing.

Auto-Lock and passcode timing are related but different

Auto-Lock controls when the display turns off after inactivity. Passcode settings control device authentication and can include separate rules about when a passcode is required. Face ID or Touch ID can make frequent locking less inconvenient without removing passcode protection.

Use attention-aware features when available

Some Face ID iPhones can detect attention and avoid dimming or locking in certain situations while you are looking at the display. If the screen behavior seems inconsistent with your Auto-Lock choice, review the attention-aware settings supported by your model.

Choosing an Auto-Lock time

Thirty seconds or one minute works well when security and battery life matter most. A longer interval can be more comfortable for recipes, sheet music, presentations, or instructions that you read without touching the screen. Choose the shortest interval that does not interfere with how you normally use the phone.

Auto-Lock does not end every background task

Locking the display does not necessarily stop music, navigation, downloads, calls, or other activities that are designed to continue in the background. It mainly turns off the display and returns the phone to its locked security state.