IPhone 4 not responding to touch! What do I do?

So I was on my iPhone yesterday, and I was messing with the finger gestures things that is on assistive touch. All of a sudden, the iPhone doesn't respond to touch. At all. It turns off on its own, and comes back on, and now its stuck on the lock screen just joking with me telling me to slide to unlock.
I looked it up online to see how to fix this mess and I read to turn it off (by holding down the lock button, and home button for however so many seconds) and turn it back on, so it could kinda reset it, but the thing is that I'm using assistive touch because the lock button on top is stuck and does not work.
. And to make things worse the alarm keeps going off on my phone and the only way to mute it is by pressing on any of the volume buttons, but that only helps for about 10 minutes. So I'm having the alarm constantly going off. Super annoying.
I'm struggling with this iPhone 4!
& if you could tell me a way to fix the lock button problem, I would greatly appreciate it.
My phone is out of warranty.

--Thank you!

Plug it in to itunes and restore.

  • My IPhone screen is not responding? My mom was trying to take my phone so I was grabbing it and pulling it an away from her and when I got it back the screen was frozen and I couldn't go back to the home screen or even turn it off. After a while the whole screen turned black and now I can't do anything on it.
  • My iphone's home and lock button is not responding My iphone was working all day.but, my iPhone home button and lock button quit working. I'm stuck on the settings app, I can't get out. What do I do? It's been like dis for some time
  • My Iphone 6 keeps freezing and not responding to touch screen? I've already looked on the Apple website and followed all of their instructions but nothing worked. My Iphone still doesn't respond to touch screen. I think it might have a virus what should I do?
  • IPhone touch screen not responding? Recently I dropped my phone in the toilet and it has been in a bag of rice in 1 month now (since people told me it would help) Now my phone works though I have this problem that sometimes the touch screen is not responding. I can be on my phone and do stuff but suddenly it will just freeze and not let me do anything till I close the phone and open it again. It's really annoying. I have even tried to restore it, but it's not helping. Is there anything I can do to make it better?