lock (billingEngine)
{
    // ... diverses modifications sur le BillingEngine
    billingEngine.UpdateAmounts();
}