Passthrough and hide objects

Hello everyone! I have an application in which I am using passthrough for Quest 2. I have a corridor with many objects, and I want it to only be seen from the inside. As if it were some kind of portal. What is the easiest way to hide the corridor and the rest of the objects from the outside? Thanks in advance.