Fix error handling for lock/unlock
Only the owner is allowed to lock/unlock a room