Here’s the Apple T/N on how: [https://support.apple.com/en-us/ht204455|How to set a firmware password on your Mac].
+
Here’s the Apple T/N on how: [https://support.apple.com/en-us/ht204455|How to set a firmware password on your Mac] it goes into both setting and re-setting