If that is meant to deter someone with physical access to the machine, it is an absolutely worthless measure. Such an attacker could easily boot the machine from a usb, cd, or floppy drive. An effective defense would be to use full disk encryption.
Yes, not really possible with mainstream x86 hardware.
But I remember the good old Sun boxes, where a non-default boot was password-protected, and a lock prevented opening of the box ...