The fastest way to lock your iPhone screen
Press the side button and either volume button at the same time, then slide to power off. Your iPhone locks when ready. If you want to lock it without powering down, press the top (or side) button once and release — your screen goes dark and locks after a few seconds of inactivity, or right away if you have set it that way.
The side button method works on iPhone X and newer. On iPhone 8 and earlier, press the top button once to lock the screen. Both methods put your phone into a locked state where someone needs your passcode, Face ID, or Touch ID to get in.
You can also set your iPhone to lock automatically after a set time of inactivity — 30 seconds, 1 minute, 2 minutes, 5 minutes, or longer. This is the real protection: even if you forget to manually lock it, the phone locks itself.
Key Takeaways
- Press the side button and a volume button together to lock your iPhone when ready, or press the side button alone to let it lock after a few seconds.
- Set your iPhone to lock automatically after 30 seconds to 5 minutes of inactivity so you do not have to remember to lock it manually.
- A strong passcode (not your birthday or a straightforward number sequence) is your main defense if someone gets your phone in hand.
- Face ID and Touch ID add a second layer, but a passcode is what actually protects your phone if it is stolen or lost.
Where to set automatic lock timing
Open Settings, then tap Display & Brightness. Scroll down and tap Auto-Lock. Choose how long your phone waits before locking: 30 Seconds, 1 Minute, 2 Minutes, 5 Minutes, 10 Minutes, or Never. Most people choose 1 or 2 minutes as a balance between convenience and security.
If you choose Never, your screen stays on until you manually lock it or the battery dies. This is not recommended unless you are in a controlled environment where your phone will never leave your sight. A 1-minute auto-lock means your phone is protected the moment you set it down, even if you forget.
Setting up a passcode that actually protects you
Your passcode is what stops someone from using your phone if they have it in their hands. Go to Settings, then Biometric & Security (or Face ID & Passcode on older models), then Change Passcode. You will be asked for your current passcode first.
Apple defaults to a 6-digit numeric code, but you can choose a longer alphanumeric passcode instead — letters, numbers, and symbols mixed together. A passcode like "Tr0pic@lSunset42" is far harder to guess than "123456" or your birth year. If you use a weak passcode, someone with your phone can try common combinations and get in.
Do not use birthdays, anniversaries, or sequences like 111111 or 123456. These are the first things someone will try. A random mix of uppercase, lowercase, numbers, and a symbol is strongest.
How Face ID and Touch ID work with your lock screen
Face ID and Touch ID let you unlock your phone without typing your passcode every time. They are convenient, but they are not your primary security — your passcode is. Face ID scans your face; Touch ID scans your fingerprint. Both are stored on your phone only, not sent to Apple.
If Face ID or Touch ID fails five times in a row, your phone locks and asks for your passcode instead. If someone steals your phone, they cannot use your face or fingerprint to get in after those five failed attempts. Your passcode becomes the only way forward.
You can add multiple faces or fingerprints. Go to Settings, then Biometric & Security, then Face ID or Touch ID. Tap Add a Face or Add a Fingerprint. This is useful if you want a family member or trusted person to unlock your phone in an emergency, but be aware that anyone you add can access everything on your phone.
What happens when your iPhone is locked
A locked iPhone shows only the lock screen — your wallpaper, the time, and notifications. Someone cannot open apps, read your messages, access your photos, or change your settings without unlocking it first. They also cannot turn off Find My iPhone or change your Apple ID password without your passcode.
Notifications still appear on the lock screen, but they are hidden until you unlock the phone. Someone can see that you received a message, but not the content. If you want even more privacy, you can turn off lock screen notifications entirely in Settings > Notifications > Show Previews, then choose Never.
Protecting your phone if it is lost or stolen
If your iPhone is lost or stolen, use Find My iPhone to locate it, play a sound, lock it remotely, or erase it. Open Find My on another Apple device or go to iCloud.com, sign in with your Apple ID, and select Find My iPhone. You can put your phone into Lost Mode, which locks it with a message and phone number, or erase it entirely if you cannot recover it.
A strong passcode is what makes remote locking and erasing work — without one, someone with your phone can turn off Find My or change your Apple ID password before you have a chance to act. This is why your passcode matters more than Face ID or Touch ID.
Frequently Asked Questions
Can someone unlock my iPhone if they know my passcode?
Yes. Your passcode is the master key to your phone. If someone knows it, they can unlock your phone and access everything on it. This is why a strong, random passcode is critical — do not share it with anyone you do not fully trust, and do not use something someone could guess.
What if I forget my passcode?
You will need to erase your iPhone and set it up again using your Apple ID and password. Go to Settings > General > Reset > Erase All Content and Settings, or use Find My iPhone to erase it remotely. You cannot unlock an iPhone without the passcode or Apple ID credentials.
Is Face ID or Touch ID enough to protect my phone?
No. Face ID and Touch ID are convenient, but your passcode is your real protection. After five failed unlock attempts, your phone requires your passcode. If your phone is stolen, a passcode is what stops someone from accessing your data or turning off Find My.
Can I lock my iPhone screen without pressing buttons?
Not directly. You must press the side button (or top button on older models) to lock it manually, or let auto-lock do it for you. Some accessibility features let you lock your phone through voice commands or switch control, but the button press is the standard method.
Does locking my screen stop apps from running in the background?
No. Apps can still run, send notifications, and use location in the background even when your screen is locked. Locking your screen protects your data from someone picking up your phone, not from apps themselves. You control background activity in Settings > General > Background App Refresh.