barrier (n.)
early 14c., barere, from Anglo-French barrere, Old French barriere "obstacle, gatekeeper," from barre "bar" (see bar (n.1)). First record of barrier reef is from 1805.