block your charger from working properly. This can happen to any phone, but thankfully it's actually very easy to fix. This is especially true now that Apple has started to use the same USB-C ...
In many cases, restarting your iPhone will fix an unresponsive touchscreen ... So, if you're using wired headphones or even just a charger, try disconnecting those and seeing if your touchscreen ...