pub fn write_lock(dir: &Path, lock: &LockFile) -> Result<PathBuf, LockError>
Write a LockFile to dir/sdkt.lock.
LockFile
dir/sdkt.lock