lock acquired in with statement (implicit try...finally)