Global lock finished, not tested