Document lock timeout