added benchmark for locks