shut (orlock) the stable door after the horse has bolted try to avoid or prevent something bad or unwelcome when it is already too late to do so. proverb
☞ This saying dates back to medieval times. Until the late 19th century it was used in the form shut the stable door after the steed is stolen.