IPhone 12

Display black, but touch (somewhat) works. Phone makes charging sounds

This is caused by a faulty OLED screen. The device was dropped (likely on the front) which killed the screen. It’s a very common issue with this model. If you look closely at the screen, there are probably “bubbles” or “dots” in it. Changing the screen will fix this issue.

The screen does not need to be cracked for this issue to occur! The phone can look brand new and still get it after a drop.

I personally had luck with bringing it to Apple directly (if under warranty or consumer law) and telling them the screen stopped working.

If you are reading this after the device left warranty, take a look at iFixit.com where you can find a complete guide on how to change the screen yourself. Note: iPhone 12 and 12 Pro use the exact same panel.