add LockDir() to paths