Only attempt if you have advanced microsoldering skills. Not feasible for Apple Silicon (M1/M2/M3) Macs.
To remove an EFI (firmware) password on a Mac, the method depends on whether you remember the password or have forgotten it. You can disable it using macOS Recovery : remove efi password on mac
This will erase all data on the Mac and remove the firmware lock, but it will not bypass an iCloud Activation Lock. 4. For Vintage Macs (2006–2010) Only attempt if you have advanced microsoldering skills
This method does not work on Macs from ~2011 onward with EFI v2.0+. remove efi password on mac
: Restart your Mac and immediately hold Command (⌘) + R until the padlock and password field appear. Authenticate : Enter your current firmware password.