add Cmp lock