Force restart iPhone X, iPhone XS, iPhone XR, iPhone 11, or iPhone 12
Press and quickly release the volume up button, press and quickly release the volume down button, then press and hold the side button. When the Apple logo appears, release the button.
If you have the straight enclosure, you can utilize PINs to press these buttons without opening the enclosures to get to the device.