How to turn off a frozen iPhone with a broken lock button?
You can let the battery run down, at which point the phone will power itself down. You can run its battery down slightly faster by waking it up using the home button -- this will activate the display backlight and run the battery down a bit faster.