After one ui 8.5 update some models like samsung m56 got a bug in which the touch of the phone randomly stops working for a certain period of time and then start working this is frustrating and sometimes when the phone is most needed you can't use it...
Hum I also have the same problem from the start my phone it around 8 months old and it was heating from the start. Try using goodlock or finelock thermal guardian module. I mostly had this problem when using Hotspot with 5g may be if you don't need u...