dam: a barrier constructed to contain the flow of water or to keep out the sea
barrier: a structure or object that impedes free movement
rail fence: a fence (usually made of split logs laid across each other at an angle)