My phone will not bring up the shut off button you slide

My phone will not bring up the shut off button you slide . I have tried holding the power button and it still will not let me shut it off. What do I do?
Try to hold the power button and the home button down together until you see the Apple logo then release. It should reboot your phone. Then see if you can turn it off.

Original thread: https://forums.imore.com/threads/my-phone-will-not-bring-up-the-shut-off-button-you-slide.281848/