Default Lock power button??

Hi, is there any app that can lock power button, i.e. to switch off or restart phone. Either by password or simply lock n unlock?

Cool....)