Hi, I am Dave, I will help you with this.
The action you set for the power button like shutting the PC down will only work when Windows is on and working correctly and you only need to tap the power button to shut your PC down.
Pressing and holding the power button on the case of your PC for 5 - 10 seconds will cause a hard shut down, regardless of the setting you have made in Windows.