In order to avoid any compatibility issues, Antivirus software would be uninstalled automatically, if the Antivirus software doesn't support Windows 10 even if you choose “Keep personal files, apps and Windows settings” for Windows 10 upgrade. You need to manually download and install Windows 10 supported version from the official website of the Antivirus software.