Try a forced reboot. Its hardware based, so whatever is on the screen should not matter:
On an iPhone X, iPhone 8, or iPhone 8 Plus: Press and quickly release the Volume Up button. Press and quickly release the Volume Down button. Then, press and hold the Side button until you see the Apple logo.
This will force reboot the iPhone