iPhone are very safe smart phones in terms of security. However, this feature also has disadvantages when you forget the access code for unlock iPhone and the message "iPhone is disabled" or "iPhone unavailable" appears. As you unlock the iPhone if you forgot the access code (Passcode), you will see in the tutorial below. Some ways you can unlock iPhone if you don't know the unlock code anymore.
If you are in the situation where you have made the iPhone access code twice, it is good to stop and think well before trying the third and fourth time. After entering the wrong Passcode four times, the iPhone will be blocked for 1 minute and you will no longer have access to your personal data on the device. After another attempt, the iPhone will be blocked for 5 minutes, then for 15 minutes ... and so on. It is not a pleasant situation to see on the screen the message "iPhone is disabled" or "iPhone UNAVAILABLE".
Table of Contents
Can iPhone access code be recovered?
No, the iPhone access code (Passcode) cannot be recovered and there is no way to be found. If someone promises you can recover the iPhone unlock code in exchange for a sum of money, it is most likely to be a deception.

Fortunately, if you do not know what is the iPhone unlock code, there are several ways you can unlock iPhone. However, it is a great disadvantage. If you do not have a backup in the iCloud environment or on PC / Mac, all data will be permanently erased. There is no way by which the iPhone lock code can be recovered. Only reset the iPhone at factory settings can be done, then at the new initialization you can download the backup data, from the iCloud account or from the PC / Mac, where the iPhone had a backup.
How do you unlock iPhone if you forgot the access code. iPhone unavailable
There are several ways by which iPhone can be unlocked if you forgot the access code, but they depend on the security settings made by each user.
Total iPhone reset from iCloud - Passcode reset
The total reset of the iPhone device in the iCloud account is the most handy method if the iPhone deletion and reset cannot be done from the lock screen (Lock Screen), where the message appears: iPhone Disabled or iPhone Unavailable.
1. From a PC or Mac, go to iCloud.com, you authenticate with your Apple ID account authenticated on the blocked iPhone. (Mac you can directly access the Find My application).
Link: iCloud.com
2. You access "Find My" from the first page iCloud.com

3. Go to the list of all your devices that are associated with your account, "all devices", then click on the iPhone to be unlocked.

4. In the box that opens, click on the "Erase iPhone" option. This option will not delete the iPhone from your account and it will be able to continue to be located through the Find My application, if it was activated on the device.

5. Next, you must confirm the deletion of the content and settings on the iPhone. If backup was activated on the iCloud account or Mac / PC, the data can be recovered after reset.
“All content and settings will be erased. If Find My Network is enabled, you will still be able to locate this iPhone.”

6. At the next step you have to enter the Apple ID credentials of your account, then the 6 -digit confirmation code for the complete deletion of the iPhone.
7. The phone number is mandatory to start the deletion and reset process to the iPhone manufacturing settings.
8. Start the process of deleting and resetting iPhone.

Throughout the reset process on the iPhone screen will appear Apple logo on a black background.
After restarts iPhone, swipe up to start initializing. The message "iPhone Locked to Owner" will appear, which means you have to enter your Apple account password and choose a new iPhone Unlock Access Code.
From the initialization steps, you can choose the "Restore from icloud backup" option to recover the data present before the reset.
Reset and delete iPhone from Lock Screen (Security Lockout)
With iOS 15.2 / iPados 15.2, Apple introduced an "Security Lockout" option. With this option, iPhone or iPad devices can be reset directly from Lock Screen, thus offering a simpler method to unlock iPhone if you forgot the access code.
In order for the iPhone to enter the "Security Lockout" mode, you must enter the wrong code seven times. Then, besides the Emergency button, the "Erase iPhone" option will appear. "Security Lockout", try again in 15 minutes.
IPhone or iPad reset requirements in Lock Screen (Security Lockout)
- iOS 15.2 / iPados 15.2 or a newer version
- Passcodes entered wrong seven times
- iPhone to be connected to the Internet via Wi-Fi or Mobile network (4g, 5g)
- on iPhone to authenticate an Apple (Apple ID) account
- To know the credentials of the account authenticated on the iPhone. Apple ID email address and password
1. In Lock Screen and press on "Erase iPhone"
2. Enter the believers of the Apple ID account present on the iPhone at "Sign Out of Apple Id".
3. You start the process of deleting the data from the iPhone and reset.

Wait until the iPhone is reset, then you can set a new password and restore the spare copy of iCloud backup to data recovery.
Related: Stolen Device Protection. Additional protection if you are stolen iPhone
These two methods show you how you can unlock the iPhone if you forgot the access code. Another method is the entrance to "Recovery Mode" and the restoration of the backup device on Mac or PC via iTunes.
Thanks a lot for your help!
My child managed to change my password to the iPhone and I really thought that there is no solution to be able to reset it.
Thank you!
Welcome!
VL *** S on Instagram helped me to spy on my husband's phone and social media account when I felt that he was hiding something from me. VL ** can help you if you need this type of help.