If you wish to change the behavior upon pushing e.g. the power button, you can edit the config files located in /etc/acpi/events/
. To disable the power button, you would edit the file powerbtn
there and change the action
line to:
action=/bin/true