Did you disable the sync from on-prem to Azure?
If you are using SSPR writeback to on-prem, you would have to disable that as well:
https://learn.microsoft.com/en-us/entra/identity/authentication/tutorial-enable-sspr-writeback
Not sure of your architecture here however.