Why Does My iPhone 7 Screens Wakes Up Every Time I Move It? Here's The Fix.
You can turn of Raise to Wake by going to Settings -> Display & Brightness -> toggle off (green is on) Raise to Wake. This should stop your screen coming on unless you touch the power button or home button.