An obstruction may not be placed at the mouth of any creek, cove, or inlet, or across any stream, so as to impound any fish and prevent its free passage to and from the water or its free access up and down the stream. However, a dam may be erected if fish ladders are maintained in accordance with the provisions of this subtitle.