Airlock

"If I activate this control, the outside airlock will open and she will be sucked into oblivion. Do you think you can kill me and then save her before she's pulled out into space? It's a horrible way to die."

- Cad Bane, to Anakin Skywalker, regarding Ahsoka Tano

An airlock was a structure built into most starships that allowed beings to enter or exit pressurized atmospheres from the vacuum of space.

Shortly before the Battle of Endor, Admiral Jhared Montferrat of the Galactic Empire used an airlock on the Devastator to execute suspected Rebel spies.