Wiktionary
close the stable door after the horse has bolted
vb. (context idiomatic English) To attempt to prevent a problem only to find it has already happened