add sleep in lock