removed unused Lock line