public boolean isLocked() {
        return lockedTime > 0;
    }
Returns true if the room is locked. The lock will persist for a defined period of time. If
the room owner does not configure the room within the timeout period, the room owner is
assumed to have accepted the default configuration.

@return true if the room is locked.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java