SharePoint 2010 workflows have been retired in SharePoint Online. They should have been removed from all tenants by now and do not work in SharePoint Online. More information can be found in this Microsoft support article:
SharePoint 2010 workflow retirement
Edit: SharePoint 2010 workflows cannot be converted to SharePoint 2013 or Power Automate flows using the SharePoint Migration Tool.