Set lock dir