How to make navmesh only accesible after performing action?


I’m working on a game and right now my goal is to make the selected area in my screenshot only accessible once I open the door. Since I am working with the standard UE5 teleport system, I can just go through the fence at the moment, how do I fix this?