In Solaris 2.6 and Solaris 7 when clicking on the Power key, a dialog box pops up to suspend the system, to disable this feature basically you need to rename the file in
"/usr/openwin/bin/speckeysd" to "speckeysd.old" then reboot the system, so the power key will be disabled, another workaround for temporarily as follows:
#ps -elf | grep speckeysd | awk '{print $2}' | xargs kill -9
Normal operation of power demon will be restored at next reboot, or comment out the line 344 from /usr/dt/bin/Xsession that says:
#
# Start Sun special key daemon for support of
# Power keys, Bightness keys, Audio keys
#
#===>> comment out this line StartFirst dtstart_sdtspeckeysd
Regards,
Carlos Almeida