How to transfer tasks back to Lead after conversion in Salesforce?

Make sure the users have “View and Edit Converted Leads” permission. Check this for more information on this permission. Sample Code: Trigger: Queueable Interface: