acquirelock method lock sequence