Project.pm: new is_password_locked function