Add util for locking critical sections with 1..n keys