Update lock statistics according to domain and cdata changes.