Adding room lock functionality