tl;dr No barn doors were actually locked. A series of protocol changes are suggested to specifically address listeria bacteria in food processing plants.
Also, conjecture: Closing a barn door would likely not solve any actual food safety issues, but it might keep the livestock in place.
I might be missing a joke, but if not, there is a saying ‘closing/shutting the stable door after the horse has bolted’. It’s used in a context where someone has acted too late.