אלא אם כן עשה מחיצה גבוהה עשרה טפחים, דברי רבי מאיר. אמרו לו: מעשה בשוק של פטמים שהיה בירושלים, שהיו נועלין ומניחין את המפתח בחלון שעל גבי הפתח. רבי יוסי אומר: שוק של צמרים היה.
unless he erected a partition 10 handbreadths high around the door and stands inside it; this is the statement of R' Meir. The Rabbis said to him: An incident occurred at the poultry dealers’ market in Jerusalem, as they would lock the doors to their shops and place the key in a window that was over the door, which was higher than 10 handbreadths. R' Yosei says: That place was a market of wool dealers.
תנו רבנן: פתחי שערי גינה, בזמן שיש להן בית שער מבפנים — פותח ונועל מבפנים, מבחוץ — פותח ונועל מבחוץ, מכאן ומכאן — פותח ונועל כאן וכאן. אין להן לא לכאן ולא לכאן — אסורין כאן וכאן.
A baraita states a baraita: With regard to the entrances of garden gates that open into a public domain, when they have a gatehouse on the inside, which is a private domain, one may open and close them from within. This is because the lock, which is 4 handbreadths wide and 10 handbreadths high, also constitutes a private domain. Consequently, the key may be passed from the gatehouse to the lock. However, they may not be opened or closed from without, as the key may not be passed from the public domain to the private domain of the lock. If the gatehouse is on the outside, one may open and close the doors from without, as once again both the lock and the gatehouse are private domains. They may not, however, be opened from within, as the key may not be passed from the garden, which is a karmelit, to the lock. If they have a gatehouse from here, from within, and there, from without, one may open and close the doors here and there. If they do not have a gatehouse; neither here nor there, it is prohibited to open or close the doors here and there, as one may not carry the key either in the public domain or in the garden.