I've lost my password on my almost new Samsung Galaxy S4. Now I can't unlock the tablet, and I can't shut it down since all these actions require the password. The only thing I can do is restarting it.
Now I want to reset it to factory settings, so I can set a new password. However, all the guides to a hard reset say you have to turn it off first. This I cannot do since it requires the password.
How can I reset or shut down the tablet without a password?