public boolean isLocked() {
        return locked;
    }
Returns <code>true</code> if this Account is locked and thus cannot be used to login, <code>false</code> otherwise.

@return <code>true</code> if this Account is locked and thus cannot be used to login, <code>false</code> otherwise.
core/src/main/java/org/apache/shiro/authc/SimpleAccount.java