Learn how to configure passcode on your iPhone 5s. Initially, iPhone doesnt require you to enter a passcode to unlock it. You can set a passcode that must be entered each time you turn on or wake up iPhone.
- Set a passcode. Go to Settings > General > Passcode & Fingerprint (iPhone 5s) or Settings > General > Passcode Lock (other models), and set a 4-digit passcode.
- Setting a passcode turns on data protection, using your passcode as a key to encrypt Mail messages and attachments stored on iPhone, using 256-bit AES encryption. (Other apps may also use data protection.)
- Increase security. Turn off Simple Passcode and use a longer passcode. To enter a passcode thats a combination of numbers and letters, you use the keyboard. If you prefer to unlock iPhone using the numeric keypad, create a passcode using numbers only.
- Enroll fingerprints and set options for the Touch ID sensor. (iPhone 5s) Go to Settings > General > Passcode & Fingerprint > Fingerprints.
- Allow access to features when iPhone is locked. Go to Settings > General > Passcode & Fingerprint (iPhone 5s) or Settings > General > Passcode Lock (other models). Optional features include:
- Voice Dial
- Siri
- Passbook
- Reply with Message
- Allow access to Control Center when iPhone is locked. Go to Settings > Control Center.
- Erase data after ten failed passcode attempts. Go to Settings > General > Passcode & Fingerprint (iPhone 5s)or Settings > General > Passcode Lock (other models), then tap Erase Data. After ten failed passcode attempts, all settings are reset, and all your information and media are erased by removing the encryption key to the data.
If you forget your passcode, you must restore the iPhone software.