IPhone 4 keeps locking and going to slide to power off?

Anyone know what causes this? And how to fix it? Preferably without having to send it to apple, and I have already tried cleaning and jiggling the button around, also tried restoring the phone

The made me laugh! A lad in my class had the same problem with his 3GS, music kept playing randomly and he kept getting his phone confiscated, he simply disabled voice command and it stopped,) you may also have a sticky power button, if it's not a firm click then you do, try get a couple of cocktail stick and try get the gunge out or what ever is making it sticky

Clean the entire phone out.

  • Why is my iPhone locking and trying to turn off by its self? My iPhone has been trying to turn itself off and locking the screen for ages, at first i thought that it would go away but it hasn't, it also turns itself back on if i turn it off does anyone know how to make it stop?
  • Thing you slide up on iphone won't slide up? On the IOS 7 for iphone the thing you slide up which has the calculator/compass/camera/torch won't slide up when I'm in apps? It use to but all of a sudden it doesn't want to slide up? It's getting annoying what can I do to get it to slide up?
  • My iphone keeps on flashing and locking by itself every few seconds? Since 5 hours ago my iphone 5 has been flashing every 10 seconds intervals or so and it will lock by itself and turns on back to the lock screen by itself. It would even flash to the power off screen at times. I've tried syncing, charging and restarting my phone but things won't change. (I've had my phone for almost a year now + the decrease volume button is spoil) should i claim from warranty or are there any way i could resolve this flashing issue by myself?
  • My Internet keeps going off and then back on? I'm not much for computer things, but I have a computer, iPod, iPad, and iPhone. And the Wi-Fi on all of them keeps turning off for about 10-15 minutes and then comes back on. I tried calling Comcast, which is what we use, and they were only trying to charge us for things that didn't sound necessary. So what should I do? Or better yet, what can I do?