Summarize the following:
If your S4 has frozen while you are using it and none of the buttons are responding, you can try to force it to shut down.

Summary:
Press and hold the Power button for at least ten seconds until the screen turns off. Power your phone back on as your normally would.