pub fn lock_sync_or_verify_with_timeout( lockfile: &Path, program: &str, sync_args: &[&str], cwd: &Path, timeout: Duration, ) -> Result<()>
Two-tier lockfile enforcement with configurable timeout.