Change name from is_allowed_authn to is_locked. (#1204)