Use Face ID: Look at iPhone and unlock with your face
Use Face ID (passcode fallback): If Face ID doesn’t work, enter your passcode
Use Touch ID: Place your finger on the Home button or Touch ID sensor to unlock
Use passcode: Enter your passcode on the lock screen
If you forgot your passcode: Connect iPhone to a computer and use recovery mode to restore
Recovery mode (Mac/PC): Follow the on-screen steps after putting iPhone into recovery mode
If iPhone is disabled: Wait for the timer to finish, then try again, or use recovery mode to restore
After restoring: Set up iPhone again and sign in with your Apple ID to restore data if available
