My gates almost never lock when they're supposed to. Especially if there's something of interest like the Cowplant behind it for the Sims to want to get to. I'll double check that a certain Sim can't get in, go do something else with a different Sim, and then a few minutes later the other one has to pee, but can't because he's ow locked inside an area he was never meant to be in. Honestly, this needs to be fixed. I can't stand watching my Sims just plow through a fence I took the time to lock, just to get momentarily eaten by a plant. Even if it is funny to watch, sometimes.