How to turn the lock code on your Apple iPhone 12 on or off
The lock code prevents others from accessing the contents of your phone (such as pictures and messages). When the 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.