Fix the locks table so it really works this time. @1h00