IPhone 5 home button jammed?

My iPhone 5 keeps trying to turn itself off. It does this anywhere between 5-20 times within an hour. It started about 2 months ago but didn't really bother me up until now, sometimes it takes screenshots of my lock screen and sometimes it locks itself. Is the lock button jammed? How can I fix it?

It is actually pretty hard to replace power button. You have to take mother board off the phone, battery, vibration motor and many more tiny pieces.
i would recommend to take to repair shop.

  • Lock button on my iPhone 4 is Jammed? The other day I noticed it, it is still working but I have to press down really really hard for it to lock. I didn't spill anything sticky on it or anything and I took a toothpick and tried to undo it. But no luck. What do I do?
  • My iphone 4 lock button is jammed? - 2 I dropped my phone and the buttons jammed no matter how hard I push it doesn't do anything… Is there any way you can't fix it with out opening it? And I don't have money for a repair shop to do it. I had an iPod that did the same thing I dropped it and the button came unharmed after a few months
  • My iPhone 4 lock button is jammed? - 1 Ok, I just got my iPhone 4 for Christmas, and I guess I've pressed the lock on/off button too hard, and now it's jammed? I'm thinking about pulling it out with pliers? Is that safe? What can I do?
  • Lock button on iPhone jammed? The lock button on my iPhone is jammed & not responding. If I was to take it to the apple store would they replace my iPhone with a new one? I don't even know how it got jammed tbh I just picked it up and the lock button was broken:/ btw it's a 4s & I've only had it since April.