GRUB menu edit protection only

Solution 1:

I just found the solution. I just need to add the unrestricted attribute to the menuentry in 10_linux file as described here: http://daniel-lange.com/archives/75-Securing-the-grub-boot-loader.html

It will keep the password while editing.