Configuring the password policy and login lock