BLK-211 Placing locks around frequency calculation #ready