document Lock