Do you want to unlock your iPhone that has been locked? You don't need a Mac or a PC to accomplish this
All eligible iPhone models can now get Apple's new iOS 15.2 update, which adds a never-before-seen feature. If your iPhone is running iOS 15.2, you won't need to connect it to a Mac or PC to reset it if it gets locked. An upgraded Security Lockout mode is included in any iPhone that has been updated to the most recent iOS version.
When an iPhone is unlocked, resetting it is simple. All you have to do now is go to the Reset settings and select how you want the reset to take place. You can pick between a full reset, which erases all data and settings, and a partial reset, which merely resets the settings. Anyway, the point is that you can simply unlock an iPhone and reset it.
When an iPhone is locked, however, it must be reset using either a Mac or a PC. Even then, the procedure is not simple. If you forget your passcode, you can put your iPhone into DFU mode and connect it to a Mac or PC using iTunes. And, while fruitful, the entire process is laborious at best and perplexing at worst.
Apple, on the other hand, is getting rid of it. If your iPhone is locked, iOS 15.2 includes a "Erase iPhone" option right on the screen. That means you can restore your iPhone without using a Mac or PC. And, while this appears to be a very simple and comfortable situation, there is a catch. Only if you have an active internet connection will you see the option to delete the iPhone. Either cellular or Wi-Fi will suffice.
After failing to unlock the iPhone with the passcode, the "Erase iPhone" option will display at the bottom of the screen. When you tap that to recover your iPhone, it asks you to approve the process, and once you do, you'll need your Apple ID and password to deregister the device. Following that, the iPhone will begin the reset process, erasing all of your data. You'll have to start over after the reset.
Remember that if your iPhone's internet connection is down, the step where your Apple ID is authorised will fail. This will bring the entire reset procedure to a halt. In that scenario, you'll have to use the usual technique of putting the iPhone into DFU mode and then connecting it to a Mac or PC to reset it.