Using an iPhone unlock tool will be an effective way to help you. With the help of TunesKit iPhone Unlocker(
https://www.tuneskit.com/iphone-unlocker/), you can access your locked iPhone with just a few clicks.
Here a step-by-step tutorial:
Step 1 Connect your iPhone to Your Computer
First, connect your iPhone to the computer. TunesKit iPhone Unlocker will detect your iPhone as soon as the connection is successful.
Step 2 Put Your iPhone into DFU Mode
Follow the guide to put your iPhone into DFU mode or recovery mode in this step. After success, click the Next button.
Step 3 Download Firmware Package
During this step, you will see a series of device information. Make sure that all the given information corresponds to your iPhone. Manually correct when problems arise. If all the information is correct, click the "Download" button to download the firmware package.
Step 4 Unlock Your iPhone
When TunesKit iPhone Unlocker finishes downloading the firmware package, tap the unlock button. After the unlocking process is complete, you can access your iPhone.
Hope it helps!