Control Panel – Hardware and Sound. Click on the “Change what the power buttons do” link