Eiruvin 10:10-11
Eiruvin 10:10
If the (removable) bolt of a door has a knob on the end, Rabbi Elazar does not permit it to be used on Shabbos but Rabbi Yosi allows it. (The question revolves around whether the bolt is considered a utensil and consequently whether using it resembles an act of building or not.) A certain shul in Tiberias had such a bolt and they permitted its use on Shabbos until Rabban Gamliel and the Elders came and prohibited it. Rabbi Yosi says they used to prohibit its use until Rabban Gamliel and the Elders came and permitted it.
Eiruvin 10:11
A bolt that is tied to the door but drags on the ground may be used in the Temple on Shabbos but not elsewhere (because certain rabbinic Shabbos restrictions were not imposed in the Temple). If it is lying on the ground, it may not be used in either place (because it’s an actual act of building). Rabbi Yehuda says that the bolt that lies on the ground may be used in the Temple but not elsewhere, while the bolt that drags may be used everywhere.