Wow.. that sounds like a drastic measure. If the computer locks up like that, and the power button does not work - then push and hold down the power button for 10 seconds. The computer should turn off.
There is no way you should be formatting this often, in fact im sure you're overlooking something.