How to unjam lock button on iPhone 4S?

My lock button AND volume button are jammed. They don't work unless you push the button really hard. How do you unjam them without taking the phone apart or taking it for repair?

You can use assistivetouch which is in settings>genral>accessibility>assistivet… On. Under "device" it will look like this: