lock reordering