Professional tools like PassFab iPhone Unlock or Dr.Fone Screen Unlock guide you to download a specialized firmware package (IPSW) and put the device into DFU mode . This overwrites the existing OS to remove the passcode, though it erases all data .
Files labeled "Unlock Firmware" are a favorite vector for malware. These are often .exe files disguised as IPSW. When you run them, they can: iphone 11 unlock firmware