Read first and write later - upgrading a lock ?