You can lock the screen on an iPhone instantly with the Side button, and you can control when it locks automatically in Settings under Auto-Lock.

What “locking the screen” means

When your iPhone is locked:

  • The display turns off and stops responding to touch.
  • You need Face ID, Touch ID, or a passcode (if set) to get back in.
  • It helps prevent accidental taps and keeps your data private.

Fast way: lock with a button

This is the everyday way most people use.

  • On iPhones with Face ID (no Home button):
    • Press the Side button once to lock the screen immediately.
  • On older iPhones with a Home button:
    • Press the Sleep/Wake (or Power) button on the top or side once.

To unlock afterward:

  1. Press the Side or Sleep/Wake button.
  1. Swipe up from the bottom (or press Home), then authenticate with Face ID, Touch ID, or your passcode.

Control when the screen auto-locks

If your iPhone is staying on too long or going dark too quickly, tweak Auto- Lock.

  1. Open Settings.
  1. Tap Display & Brightness.
  1. Tap Auto-Lock.
  1. Choose a time (for example 30 seconds, 1 minute, 2 minutes, up to 5 minutes, or Never , depending on model/iOS).

Tips:

  • Shorter time (like 30 seconds or 1 minute) saves battery and is more secure.
  • Never means the screen will stay on until you press the Side/Sleep button, which can drain battery faster and is less secure.

Extra: “lock screen” so others can’t exit an app (Guided Access)

If you’re handing your iPhone to a child or showing someone one app and don’t want them to leave it, you can lock them into that app using Guided Access.

Set it up:

  1. Go to Settings.
  1. Tap Accessibility. (On some older guides it’s under General > Accessibility, but now it’s under its own menu.)
  1. Tap Guided Access and turn it on.
  1. Set a passcode (or Face ID/Touch ID) for ending Guided Access.

Use it:

  1. Open the app you want to lock (for example, YouTube for a baby).
  1. Triple-press the Side or Home button to start Guided Access.
  1. Adjust any options (like disabling touch in certain areas), then start.

To stop:

  • Triple-press the button again, enter your Guided Access passcode or use Face/Touch ID, then end the session.

Quick Scoop (SEO-style summary)

  • how to lock screen on iphone : Press the Side (or Sleep/Wake) button once for an instant lock.
  • Auto-lock timing : Settings → Display & Brightness → Auto-Lock → pick your time.
  • Lock screen for a kid or single app : Turn on Guided Access in Settings → Accessibility, then triple-press Side/Home in the app.
  • Security + battery : Shorter auto-lock times improve privacy and save power.

Meta description (SEO):
Learn how to lock the screen on iPhone using the Side button, customize Auto- Lock timing in Settings, and use Guided Access to lock a child or guest into a single app.

Information gathered from public forums or data available on the internet and portrayed here.