If you forgot your passcode, you can use your Apple ID and password to erase and reset your device without a computer.
Before you reset your device
- You need to have a device that's using iOS 15.2 or iPadOS 15.2 or later.
- Your iPhone, iPad, or iPod touch needs to be connected to a cellular or Wi-Fi network.*
- You'll need your Apple ID and password that you used to set up your device.
If you enter the wrong passcode on your iPhone Lock Screen too many times, an alert lets you know that your iPhone is disabled. (Learn what to do if you see "[Device] unavailable" or "Security Lockout" on your iPhone or iPad.)
Lock Screen Passcode or Screen Time Passcode.
Following this process is the only way out if your iPhone is disabled. The steps given in this link will help you reset the passcode -> If you forgot the passcode for your iPhone, iPad, or iPod touch, or your ...