It is possible to disable or even change what hardware keys do even without an app.
In my case I just commented out (added a # at beginning of) the lines starting with POWER in the /system/usr/keylayout/Generic.kl file
(with root and rw access to /system . To access /system as rw just use this command: mount -o remount,rw /system)
and rebooted the device....