Chosen Solution

I have an iPhone 7+ lately the touch freezes mid usage and it works fine after locking it and unlocking it. I did two factory resets and also did turn the 3D touch sensitivity to light and also tried pressing the top right-hand corner of the screen I also disabled the auto-brightness this seemed to help a bit but am not sure. Can you please help me sort out what’s wrong thank you in advance I’ll be happy to provide additional details?

The first thing you need to do is try a replacement screen as this would most likely be the cause.