(For older versions of Android, you may not be able to power down your phone when it's locked without inputting your password.) For Samsung phones with a separate Power button (Galaxy S8, Galaxy S9, ...