![Apple iPhone 15](http://wmstatic.global.ssl.fastly.net/ml/7151223-f-a654d9cc-596c-4fac-b8d7-edf9fdffcc9e.png?width=150&height=320)
Apple iPhone 15
iOS 17
1. Find "Face ID & Passcode"
Press Settings.
![](http://wmstatic.global.ssl.fastly.net/ml/7151223-f-d816297e-2fb8-4301-898b-43f581324aa6.png?width=212&height=458)
Press Face ID & Passcode.
![](http://wmstatic.global.ssl.fastly.net/ml/7151223-f-ff1ea4d5-a0cb-4d51-83b9-20d336745439.png?width=212&height=458)
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/7151223-f-3909cdad-828d-4084-aaf8-fcb36e333df7.png?width=212&height=458)
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/7151223-f-c7284937-6784-4bd6-b4fa-1b760b9b59fd.png?width=212&height=458)
If you turn on the function, press Enable.
![](http://wmstatic.global.ssl.fastly.net/ml/7151223-f-cecff138-d62a-4b2a-8df9-d898b0fb56d6.png?width=212&height=458)
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/7151223-f-4c7e398b-bf10-4716-9fe2-1bcbf723e0b0.png?width=212&height=458)
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/7151223-f-ff1f776d-37e5-4322-bc33-16a3550e6fde.png?width=212&height=458)