Here they are some useful articles that indicate on how to safely uninstall Sophos Antivirus,
Sophos Central Endpoint and Server: Uninstall Sophos using the command line or a batch file
https://support.sophos.com/support/s/article/KBA-000003469?language=en_US
Remove Sophos Central without tamper protection password
SophosZap: Frequently asked questions (to be used only as last chance)
https://support.sophos.com/support/s/article/KBA-000006929?language=en_US
Sophos Central Endpoint: Automate the software deployment to Windows devices
https://support.sophos.com/support/s/article/KBA-000003140?language=en_US
Sophos Central Endpoint: Installer command line options for Mac and Windows
https://support.sophos.com/support/s/article/KBA-000004840?language=en_US
[update 2025.08.20]
If your tamper protection is not recognized you might fix following this procedure:
1. Execute command line prompt with administrative rights
2. cd "C:\Program Files\Sophos\Endpoint Defense\"
3. You will be located in C:\Program Files\Sophos\Endpoint Defense\
4. Run SEDcli.exe -TPoff password (where password is the one that you view on Sophos Central console)