A gravity lock was a type of portable, hovering tractor beam that could prevent a starship from taking off by anchoring it in place. That type of gravitational technology was developed by the Galactic Empire several years before the Battle of Yavin. Once clamped down onto a vessel's landing gear, a gravity lock could not be removed by force, and was nearly impossible to destroy. The only way to remove such devices was to dismantle them, which required knowledge of their inner workings. Some gravity locks were assembled by inmates of Imperial prisons. They were later used during the occupation of Lothal, to impound suspected smuggling ships. After the Spectres smuggled themselves through the heavy Imperial lockdown onboard the Broken Horn, the ship was secured with a gravity lock, as an Imperial cruiser had scanned the extra lifeforms onboard.
Late in the cold war, the First Order also used gravity locks. During the occupation of the Colossus platform on Castilon, the locks were used on ships belonging to various residents, including Hype Fazon's Green Ace, after Commander Pyre pressured Captain Imanuel Doza into cancelling all future races on the platform due to the danger of a spurious pirate threat.
- Star Wars Rebels – "A Princess on Lothal" (First appearance)
- Forces of Destiny: The Leia Chronicles (Mentioned only)
- Star Wars Rebels – "The Occupation"
- Star Wars Resistance – "The Disappeared"
- Star Wars Resistance – "No Escape: Part 2"