Setting a firmware password ensures, that your Mac will only start from your startup disk and not from any other internal or external disks. Normally you will not be asked to enter the firmware password at boot time, only when you try to boot from a different drive or DVD.
To boot in special modes like: recovery mode and single user mode the firmware password is required too.
How to fix it
macOS 10.11 – 14
- Turn off your Mac
- Go into Recovery Mode by immediately holding down the Command and R keys after power on.
- Wait until the Utilities screen appears.
- Click on the Utilities menu from the menu bar.
- Select Firmware Password Utility.
- Click on the Turn On Firmware Password…
- Enter a new password, verify it and click the Set Password button.
- Click on Quit Firmware Password Utility
- Restart you Mac.

