Going with the assumption that you're making a 5CP map.
You're looking for standard shutter doors with the trigger only on the inside like Mikroscopic said - no locking or disabling required. That's how every other 5CP map does one-way doors on its forward spawns (and with the exception of Badlands second, none of them have resupply lockers either, because they're useless if you can't get back in).
Now if I'm mistaken, and you want to allow players to re-enter forward spawns at specific times during the round, be careful about locking the door or disabling its trigger. You don't want to accidentally trap players inside.