In the Apartments in Dubovo we had an issue where the doors into the apt were soaking up all the bullet damage to the gate behind it.
This situation exists because of build anywhere/everywhere mod, allowing gates and fences to be placed inside buildings walls.
I think tweaking the material types for the doors so they can be shot through and making the player able to open a door that is in close proximity to a player built gate will solve this.
In the video you can see if the frame is present but no wall on the gate, you can operate the door. If the wall or gate is 100% intact you cannot open the door. It does not matter if the gate has a dial lock or a mod Codelock, you cannot interact with the door while raiding.
If you do not have a lock on the gate you can open it, if you have the combination for the Codelock you can open the gate, because it's UI shows up even if the door is shut.
If the gate has a 3-4 dial, you cannot open the door(s) that are in front of it. The apt door is the only one found in my testing to day that has trouble being shot through.