How to set or change the screen lock on iPhone
You set or change the screen lock on iPhone in the Settings app, under Face ID and Passcode or Touch ID and Passcode. The same path works on the iPhone 11, iPhone 16 and iPhone 17 family, though the menu label follows the biometric the phone uses. This page walks through turning the lock on, changing the passcode, and adjusting what the lock screen shows.
Set a passcode for the first time
Open Settings, scroll to Face ID and Passcode or Touch ID and Passcode, and tap Turn Passcode On. The iPhone asks you to enter a six-digit passcode twice, and you may tap Passcode Options to choose a code of a different length. A screen lock protects the data on the phone, so keep the code private and avoid sharing it with others.
Change or remove the existing passcode
Changing the screen lock passcode on iPhone starts by tapping Change Passcode in the same Settings menu. Enter the current code first, then type and confirm the new one, which confirms you are the owner. Removing the lock means tapping Turn Passcode Off, and that step also erases stored cards and some protected data. Only the person who knows the current code should make this change.
Adjust what the lock screen shows
The lock screen itself is edited by pressing and holding the wallpaper, then tapping Customize to reach the clock and widget options. Features such as Face ID or Touch ID unlocking, notifications on the lock screen and Control Center access sit in the same Settings section. The iPhone 17 Pro Max and other large models use identical menus, so the steps do not change with screen size.
Questions about the iPhone screen lock
How do I set a screen lock on an iPhone 17 or iPhone 16?
Setting a screen lock on an iPhone 17 or iPhone 16 uses Settings, then Face ID and Passcode, then Turn Passcode On. Enter the code twice when asked, and the lock becomes active as soon as the phone sleeps. The iPhone 11 follows the same path but labels the menu Touch ID and Passcode.
How do I fix a frozen lock screen on a PC?
A frozen Windows lock screen is a computer problem, not an iPhone one, and the fix differs from phone settings. Restart the PC with its power button if the lock screen does not respond, then sign in normally. Persistent freezes on a Windows lock screen point to a system or driver fault that may need a trained technician.
Why does the passcode option ask for my old code?
The iPhone asks for the current passcode before any change so that a stranger holding the phone cannot reset the lock. This safeguard applies to setting a new code and to turning the lock off. Without the old code, the phone must be reset, which erases its content.
Can I unlock an iPhone with Face ID instead of a code?
Face ID can unlock a supported iPhone, but the passcode still exists and is required after a restart or several failed attempts. Touch ID works the same way on models that have a fingerprint sensor. The biometric is a faster entry method, while the passcode remains the fallback.
Read next
-
Vent Glass Replacement Cost
-
iPhone 11 Pro Max original display price in India
-
Front car window repair cost
Side window replacement
-
How much does AC service or maintenance cost
-
How much does HVAC cleaning cost
-
How to Stop an AC Vent from Rattling
-
How to Fix Blinds That Won't Go Down
-
How to disable the lock screen in Windows 10
-
How to cover a wall air vent
-
Car windshield crack replacement cost
-
Price of iPhone 11 display in India
-
How to measure a wall air vent
-
How to install wall air vents