Implement lockfile and symlink option

Is it needed for lockParams to be of type any? Can it be ILockSyncParams instead?