I struggled with this same issue when helping with an upgrade to Win 11. Got this message from the installer:
zemana antilogger - Manually uninstall
Uninstall this app now because it isn't compatible with windows 11
Error code 0xc1900209
The product did not appear to be installed, however there was a ZAM_Guard service running. I stopped and removed this and deleted the driver .sys file but the issue remained.
I found this article
https://answers.microsoft.com/en-us/windows/forum/all/windows-10-upgrade-cant-complete-due-to-error-some/59404919-d635-4e0c-9f54-bbc8fc24b843
which shows how to locate a file that is blocking an upgrade. I followed the process and found that the process was blocked by ZAM.exe in ...Program Files (x86)\Phoenix360\MalwareKiller. It looks like this was lying around from an old installation of an app that was uninstalled a long time ago.
Deleting this folder resolved the issue.