add per channel lock for statistics