explicit lock guards for statistic counters