The fastest way to lock your iPhone screen
Press the side button (on newer iPhones) or the top button (on older models) and the volume-down button at the same time, then release both. Your screen will go black and lock immediately. This works whether your phone is in your hand, on a table, or in your pocket.
If you want your phone to lock automatically after a period of time without touching anything, go to Settings > Display & Brightness > Auto-Lock and choose how many minutes of inactivity you want before the lock kicks in. The default is usually 30 seconds, which means your screen locks 30 seconds after you stop using it.
Both methods require a passcode, Face ID, or Touch ID to unlock again — so locking your screen is only useful if you have already set up one of those protections. If you have not, your phone will unlock immediately when someone presses the button.
Key Takeaways
- Press the side button and volume-down button together to lock your screen instantly, or let Auto-Lock do it automatically after a set number of minutes.
- A locked screen only protects your phone if you have a passcode, Face ID, or Touch ID turned on — without one, anyone can unlock it immediately.
- Auto-Lock times range from 30 seconds to 5 minutes; shorter times mean more security but more frequent unlocking for you.
- If you forget your passcode, you will need to erase your phone and set it up again, so write it down or use a password manager.
Setting up a passcode so your locked screen actually protects you
Go to Settings > Face ID & Passcode (or Touch ID & Passcode on older models). Tap Turn On Passcode if you do not have one yet. You will be asked to create a six-digit code, though you can choose a longer one or switch to a four-digit code if you prefer — longer is more secure, but harder to remember.
Write your passcode down and store it somewhere safe, like a password manager or a locked drawer at home. If you forget it, there is no way to recover it without erasing your entire phone and starting over. Apple cannot retrieve it for you.
Once your passcode is set, your phone will ask for it every time you unlock after the screen has locked. If you also turn on Face ID or Touch ID, you can unlock with your face or fingerprint instead — but you will still need the passcode if those fail or if your phone has been off for more than 48 hours.
Using Face ID or Touch ID to unlock faster
If you want to unlock your phone without typing a passcode every time, set up Face ID (on newer iPhones with a notch or Dynamic Island) or Touch ID (on older models or iPhones with a home button). Go to Settings > Face ID & Passcode or Touch ID & Passcode, then tap Add a Face or Add a Fingerprint.
Face ID scans your face and works even if you are wearing glasses or a mask (though it learns your face better over time). Touch ID reads your fingerprint from the home button or side button. Both are faster than typing a code, but your passcode is still the real protection — biometric unlock is just a convenience layer on top of it.
You can add up to five fingerprints or two faces. If you add a second face, your phone will unlock for either one. This is useful if you want your partner or a family member to be able to unlock your phone, but understand that you are giving them full access to everything on it.
What happens when your screen is locked
When your iPhone screen is locked, someone holding your phone cannot see your messages, photos, banking apps, or any other data without entering your passcode or using your Face ID or Touch ID. They also cannot install apps, change settings, or erase your phone — those actions all require unlocking first.
However, a locked screen does not stop someone from making phone calls or sending emergency texts, and it does not prevent Siri from responding if they say "Hey Siri" out loud. If you want to turn off Siri on the lock screen, go to Settings > Face ID & Passcode > Allow Access When Locked and toggle off Siri.
A locked screen also does not stop someone from seeing your notifications — text previews, calendar alerts, and app badges still show on the lock screen by default. If you want to hide notification details until you unlock, go to Settings > Notifications > Show Previews and choose When Unlocked.
Locking your screen when you hand your phone to someone else
If you are about to let a friend, family member, or stranger use your phone — to look at a photo, make a call, or look up directions — lock the screen first by pressing the side button and volume-down button. This prevents them from accidentally (or intentionally) opening your messages, email, or other apps while they are using it.
For extra caution, you can also use Guided Access, which locks your phone into a single app and prevents switching to other apps or accessing settings. Go to Settings > Accessibility > Guided Access, turn it on, then open the app you want to share. Triple-click the side button to start Guided Access — your phone will stay in that app until you triple-click again and enter your passcode.
Guided Access is useful if you are handing your phone to a child or letting someone use a specific app without access to anything else. It is overkill for a quick photo or direction lookup, but it is there if you need it.
Recovering access if you forget your passcode
If you forget your passcode, you cannot unlock your phone without erasing it completely. You will need a computer with iTunes or Finder, or you can use iCloud from another device.
The fastest method is to go to iCloud.com from another device, sign in with your Apple ID, click Find My, select your iPhone, and choose Erase iPhone. This erases all your data and lets you set up your phone again from scratch. If you have a backup in iCloud, you can restore from it after setup is complete.
If you do not have iCloud set up or do not remember your Apple ID password, you will need to take your phone to an Apple Store or contact Apple Support. They can help you regain access, but the process takes longer and requires proof of ownership.
Frequently Asked Questions
Can someone unlock my iPhone if I lose it?
Not without your passcode, Face ID, or Touch ID. If your phone is off, they cannot use Face ID or Touch ID until you turn it back on. After 48 hours of being off, even if they turn it on, Face ID and Touch ID will not work — they will need your passcode. If they do not have it, they cannot access your data.
Does locking my screen stop someone from tracking my location?
No. If you have Find My turned on and someone has your Apple ID password, they can track your phone's location even if the screen is locked. To prevent this, go to Settings > Privacy > Location Services and turn it off, or go to Settings > [Your Name] > Find My and turn off Find My iPhone.
What is the difference between locking the screen and powering off the phone?
A locked screen keeps your phone on but prevents access without a passcode. Powering off turns the phone completely off, which uses no battery but also means you cannot receive calls or texts until you turn it back on. A locked screen is better for everyday security; powering off is better if you want to be completely unreachable.
Can I unlock my iPhone with my voice?
No. Siri can respond to voice commands on a locked screen, but she cannot unlock your phone. You need Face ID, Touch ID, or your passcode to unlock.