Removing Efi Password

If you have the password and simply want to disable the lock, you can do so through macOS Recovery.

For users who have lost their password, Apple's official stance is that only they can reset it. This is a security measure to deter theft. Remove Firmware Password - Apple Support Community removing efi password