![Apple iPhone Xs Max](http://wmstatic.global.ssl.fastly.net/ml/7170125-f-a49b139b-10bf-4fde-96c6-efbe5469f758.png?width=150&height=320)
Apple iPhone Xs Max
iOS 18
1. Find "Face ID & Passcode"
Press Settings.
![](http://wmstatic.global.ssl.fastly.net/ml/7170125-f-0c068314-0051-4c8f-ab52-1073b4958a88.png?width=210&height=454)
Press Face ID & Passcode.
![](http://wmstatic.global.ssl.fastly.net/ml/7170125-f-0e434ee2-e273-4ee5-8379-e2b6db0f43be.png?width=210&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/7170125-f-d089fd1c-9940-4262-9c1e-aa63941271af.png?width=210&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/7170125-f-1c6ef0e2-2534-4fe4-8e49-ec2f3eb36021.png?width=210&height=454)
If you turn on the function, press Enable.
![](http://wmstatic.global.ssl.fastly.net/ml/7170125-f-466fb3ba-5f58-4ef0-afaa-f4c1212859b4.png?width=210&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/7170125-f-950ae4b1-8088-4641-9089-d948c574169d.png?width=210&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/7170125-f-d089fd1c-9940-4262-9c1e-aa63941271af.png?width=210&height=454)