What to do
- If there's a timer, wait it out and type the right passcode. Each new mistake makes the next wait longer.
- If you don't remember the passcode, erase the iPhone with a computer or recovery mode and restore from a backup (Apple). Depending on your iOS version, the lockout screen may also offer to erase and reset the phone using your Apple Account password.
- If you remember it, you'll get back in normally; nothing is erased unless Erase Data was on and 10 attempts failed (Apple).
"I didn't type anything"
- Kids, or a phone in a pocket pressing the screen, cause most of these.
- Otherwise, someone tried your passcode. Change it to a longer one and check Face ID for a second face (Settings > Face ID & Passcode, Apple).
Know when it's picked up
Lockouts tell you after the fact. To know when someone grabs the phone, arm WTMP before leaving it: picking it up, unplugging it or pulling it from a pocket sets off a loud alarm (even in silent mode) and the log keeps the exact time. Only your passcode stops it.