The Thames Barrier was completed in the 1980s to protect London against tidal surges from the North Sea.