pub fn create_lock(spec_id: &str) -> Result<PathBuf>
Create a lock file for a spec with the current process ID