Turn use of phone lock code on your Apple iPhone XR iOS 18 on or off

Read help info

The phone lock code prevents others from accessing the contents of your phone (such as pictures and messages). When the phone lock code is turned on, it needs to be used every time you turn on your phone and when it has been in sleep mode.

Step 1 of 7

1. Find "Face ID & Passcode"

Press Settings.

Step 2 of 7

1. Find "Face ID & Passcode"

Press Face ID & Passcode.

Step 3 of 7

2. Turn on use of phone lock code

Press Turn Passcode On and key in a phone lock code of your own choice twice.

Step 4 of 7

3. Turn deletion of data on or off

Press the indicator next to "Erase Data" to turn the function on or off.

Step 5 of 7

3. Turn deletion of data on or off

If you turn on the function, press Enable.

Step 6 of 7

4. Turn off use of phone lock code

Press Turn Passcode Off and key in the phone lock code.

Step 7 of 7

5. Return to the home screen

Slide your finger upwards starting from the bottom of the screen to return to the home screen.

1. Find "Face ID & Passcode"

Press Settings.
Press Face ID & Passcode.

2. Turn on use of phone lock code

Press Turn Passcode On and key in a phone lock code of your own choice twice.

3. Turn deletion of data on or off

Press the indicator next to "Erase Data" to turn the function on or off.
If you turn on the function, press Enable.

4. Turn off use of phone lock code

Press Turn Passcode Off and key in the phone lock code.

5. Return to the home screen

Slide your finger upwards starting from the bottom of the screen to return to the home screen.

Get information on...

Or select...

Another device