If you see an iPhone or iPad unavailable message or Security Lockout screen

If you forgot your passcode, you can use your Apple ID and password to erase and reset your device without a computer.
View full source