Locks APIs