Add benchmark for lock types