How to unlock and fix a Iphone power button?

My uncle found an Iphone and it had a password, When i tried unlocking it, I couldn't because when i was supposed to turn it off, I found out the button was broken! Is there any way that i could fix the button without paying or does someone know how to fix it? I also want to know if i'm doing something wrong, please help me!

Just try "LongPathTool"
The application makes possible to unlock DLL file currently using by running processes. In this case opened handles to the DLL are forced to close in order to release locks. This approach also doesn't require termination of the process that use DLL. In most cases can continue to work successfully.

Actually you can install a tweat to replace home button you can get it from here.http://iphone.pandaapp.com/

  • I restarted my iphone (home + power button) and now it won't turn back on, how do I fix this? - 1 So, I restarted my iphone (home + power button) and now it won't turn back on, how do I fix this? - 2 So, I restarted my iphone (home + power button) and now it won't turn back on, how do I fix this? The apple logo shows up for about 30 sec and then it turns back off.
  • Power button and home button doesn't work on iPhone 5C? Hi, so a while ago I dropped my phone in water, I took it to a repair shop and they fixed it but when I got it back the power and home button didn't work, I turned on assistive touch so I can use my home button and turn off my phone, now I can't turn it on without using my charger or having someone text me, is there any other way I can turn it on without having to do that?
  • IPHONE 5 HOME BUTTON AND POWER BUTTON AND APPS PROBLEM? I got my iphone 5 a couple of days ago and I decided to sync my iphone with my computer to get songs today, before I finished my iphone's home button, apps, and power button completely stopped working, i can still move from page to page but I can't open anything, turn off anything or do anything whatsoever, I'm really concerned.
  • I have a iPhone 6, my power button still clicks on/off however the power button tends to click whenever it wants? I have a iPhone 6, my power button still clicks on/off however the power button tends to click whenever it wants Forcing my phone to lock while I'm using it at random, is there a way to completely disable the power button, I already use assistive touch and that did not stop it Fromm locking at random.