Lock: Ensure valid password length.