The opening a door stands in — the threshold itself: never locked by the leading-in, per the house's own law.
Old English duru (door) plus weg (way); the opening a door itself stands within.
The threshold a door stands in, distinct from the door that may close it. What leads a person in is never, by this house's own law, the part that gets locked.