public void IncreaseDistance() { lock (bikeLockObject) { currentData = bike.ReadData(); bike.PutDistance(currentData.Distance + 1000); } }