Do you mean that the player shouldn’t be able to walk into the room? If so, you could add something in the doorway that the character collides with. (There’s multiple ways to achieve this).
I wasn’t quite sure what you meant in terms of it being invisible.