What does 'Lock the stable door after the horse has bolted' mean?

If someone takes action too late, they do this; there is no reason to lock an empty stable.

Idioms similar to 'Lock the stable door after the horse has bolted'

See also: