bar

noun

A long rod or rigid piece of wood, metal, or similar material, typically used as an obstruction, fastening, or weapon.

transitive verb

Fasten (something, especially a door or window) with a bar or bars.

preposition

Except for; apart from.