iphone x has just switched off?
Keep pressing on the Side/Power button then press and hold the Volume Down button for about 10 seconds. If the Apple logo appears, it means you've held the buttons too long and that you'll have to start all over again.