They get through the holes in the airlock but then die right there, very doubtful that that fly lived long enough to lay eggs and then the eggs survive long enough to become larvae.
That said, I prefer the 3 piece airlock. whatever gets in, like the flies, lay in the bottom and the way they work...