commit do lock