Do you have got screen protector? I have same issue with protector. I remove it and now it works perfect.
I have got this problem too. When the phone is being charged and the touch screen becomes unresponsive, you can restart the phone and the usb cable still connecting it.