One of the new features of iOS 15.2 is that you can reset your locked iPhone, iPad or iPod touch without having to go through a computer, as Apple indicates on its site. This can be useful for people who have forgotten their password.
How to reset locked iPhone with iOS 15.2
Before performing the operation, you must have an iPhone, iPad or iPod touch running iOS 15.2, the device connected to the Internet (Wi-Fi or cellular) and know the username and password of the Apple account of the device.
To get started, enter any password on the iPhone. Do this until a message appears indicating that the device is locked for a few minutes. From this moment, you should see at the bottom right of the screen a button “Erase iPhone” (or iPad or iPod depending on your device). Select it a first time and then a second time to confirm. You will then need to enter the Apple ID that was used to configure the device and then the password. Once it’s done, tap “Erase iPhone” (or iPad or iPod depending on your device) to confirm the complete erasure. When the device restarts, you can configure it and restore a backup if you want.
What if you are in a place that does not have an Internet connection? In this case, it will be necessary to go through the technique used until now with the computer, whether it is a PC or a Mac. You have to put yourself in DFU mode and then follow the instructions to erase your device.