With lock timeout