Barrier reef has 2 different meanings across 1 category:
Noun
a long coral reef near and parallel to the shore
A reef separated from the adjacent coast by a channel or lagoon.