![Apple iPhone Xs](http://wmstatic.global.ssl.fastly.net/ml/7181124-f-614644e2-c66b-4270-a79d-c76eb33a55fa.png?width=150&height=320)
Apple iPhone Xs
iOS 18
1 Find "Face ID & Passcode"
Press Settings.
![](http://wmstatic.global.ssl.fastly.net/ml/7181124-f-5f47522d-f30e-45fe-aadb-37755d48f292.png?width=208&height=454)
Press Face ID & Passcode.
![](http://wmstatic.global.ssl.fastly.net/ml/7181124-f-8bb7b642-7afd-4ca0-afb4-bfa0f6169986.png?width=208&height=454)
2 Turn on use of phone lock code
Press Turn Passcode On and key in a phone lock code of your own choice twice.
![](http://wmstatic.global.ssl.fastly.net/ml/7181124-f-a34870d9-9238-4923-8b21-7525f0e00205.png?width=208&height=454)
3 Turn deletion of data on or off
Press the indicator next to "Erase Data" to turn the function on or off.
![](http://wmstatic.global.ssl.fastly.net/ml/7181124-f-e63485c8-d38b-4b6f-bf25-5815a69b0ccb.png?width=208&height=454)
If you turn on the function, press Enable.
![](http://wmstatic.global.ssl.fastly.net/ml/7181124-f-0de58f88-69a0-42ac-8144-96ce18c32196.png?width=208&height=454)
4 Turn off use of phone lock code
Press Turn Passcode Off and key in the phone lock code.
![](http://wmstatic.global.ssl.fastly.net/ml/7181124-f-8161c226-cf10-4288-b195-182800c5f4fd.png?width=208&height=454)
5 Return to the home screen
Slide your finger upwards starting from the bottom of the screen to return to the home screen.
![](http://wmstatic.global.ssl.fastly.net/ml/7181124-f-a34870d9-9238-4923-8b21-7525f0e00205.png?width=208&height=454)