My coop is partially inside, partially outside the run. Their popdoor goes, obviously directly into the run, the people door exits outside. Usually when I have to open the people door to clean they are already in the run and I close the popdoor until I'm done. Or if I just am in there for 5 minutes to scoop the poop from the board, I leave the popdoor open and I'm careful if there is a chicken in there with me that she cannot get out. I've never had a chicken escape from that door.
We had two that escaped through the run door, but were so overwhelmed and confused when they were actually outside that it was easy to pick them up and put them back. They have not tried to escape since. This weekend I have built another door and fence to keep them away from where we collect the eggs, and where the people door is, so this won't happen again. It became a bit of a hazard when it rains to walk on slippery mud with 14 chickens pecking at your pants legs and calves and balance 12 eggs in the process. So we decided to ban them from that area. So we have the door into the run next to the left wall of the coop, where the egg doors are and then another fence with a second door to the main part of the run.