Hi there, can we try something? Cool! Let's go.
Open the dialer and dial this: *#*#service#*#* that is *#*#7378423#*#* in numbers, then press service tests and then touchscreen. Try to draw in the areas where usually the touchscreen don't work.
Then, next step.. Do you have by chance some sort of apps that control brightness? Like a night mode app!? Those kind of apps can disrupt regular touchscreen operation.
Another question, when this happens.. Is the screen hot? Does it happen a lot after or during usage in direct sun bright light?