pub fn try_acquire_lock(memory_dir: &Path) -> Option<PathBuf>
Try to acquire the consolidation lock. Returns the lock path if acquired, None if another process holds it.