better locks management