Lock any OS with Grub

# grub-md5-crypt

Edit grub.conf and add the following password line as shown below.

# vi /boot/grub/grub.conf
title Other
password –md5
rootnoverify (hd0,0)
chainloader +1

Exercise due caution before trying this out. Ensure you backup your system.