Its on its way to completely stop working. The same thing happened to me. The power button worked for a couple of days if i pressed very hard but now its not working at all. So cant lock the phone or power off. If you're still in the warranty period take it to the apple store and they will give you a new phone.