I was never able to teach my dcks with visual boundaries. Well a couple listened but others did not.
I had to install a slide chain at the top of the door but I finally had to put a door knob cover on because my 2 yo dcg is forever opening the door when she knows momma is here. And with the colder weather coming, even just opening the door a few inches wasn't acceptable.