Several methods to help you unlock iPhone quickly: https://passixer.eassiy.com/iphone/bypass-iphone-passcode-if-forgot.html
Way 1: The easiest way to unlock
Passixer iPhone Unlocker (https://passixer.eassiy.com/) is a professional unlocking software. It can unlock more than 90% of iOS system locks. These locks include: screen lock, Apple ID, MDM lock, iCloud Activation Lock, Screen Time Passcode, iTunes Backup Password, etc. You only need to install the software on your computer, connect the device to your computer, and follow the instructions to successfully unlock it. If the device version used is not very old, it can unlock 100% of the time. But it will erase all data and requires a fee. If you already have backups and are willing to spend the money to use software, then it's your best option.
Way 2: Use iCloud to erase your iPhone remotely:
If you have Find My iPhone enabled on your device and your iPhone is connected to the internet, you can erase it remotely using iCloud.
Go to iCloud.com and sign in with your Apple ID.
Open the Find iPhone tool and select your iPhone from the list of devices.
Choose the option to erase the device remotely. This will erase all data on your iPhone, including the passcode.
Way 3: Erase data on screen
Keep entering the wrong password on the screen
When you see the word "Security Lockedout" pop up, click "Erase iPhone" in the lower right corner of the device.
Click "Erase iPhone" again to ensure complete erasure of data.
Requires Apple ID password to log out
Your iPhone will begin to reset and you will see the white Apple logo. Just wait for it to complete and your iPhone will restart itself.