Take precautions after damage has already occurred; act too late to prevent a problem.
Examples:
- After the burglary they installed an alarm system, but it's locking the barn door.
Origin: mid-1300s
Synonyms: lock the stable door after the horse is stolen