use with for locks