Your best bet is to have a nodraw door with a rediculously high speed and thin trigger, but even then if someone stands in the trigger you can shoot through the door.
Quite a few people ask about this but realisticly it's impossible to achieve the desired affect. Though i have no idea why you would want this feature in a normal TF2 map (non-gimmicky).
If this is your first time logging in after the migration (Feb 8, 2022), you must reset your password to log in. Follow this guide if you're having trouble