Update Room.java

added locked (boolean) attribute to Room.
setLock() -locks
isLocked() -returns bool value
unlock() -unlocks