pub fn clear_unlock_session(common_dir: &Path) -> Result<()>
Remove the unlock session file, locking the repository.
Returns an error if the session file exists but cannot be removed.