public void unlock(@Nonnull final Affiliation actorAffiliation) throws ForbiddenException {
        if (Affiliation.owner != actorAffiliation) {
            throw new ForbiddenException();
        }
        if (!isLocked()) {
            // Do nothing if the room was already unlocked
            return;
        }
        setLocked(false);
    }
Unlocks the room so that users can join the room. The room is locked when created and only
the owner of the room can unlock it by sending the configuration form to the Multi-User Chat
service.

@param actorAffiliation the room affiliation of the user that unlocked the room.
@throws ForbiddenException If the user is not an owner of the room.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java