Wiped out and sold my Mac without logging out of iCloud. Can I remove the lock remotely?

Solution 1:

I bought an iMac and it was wiped but not logged out of iCloud like you describe.

I could not continue install, contacted the old owner and they clicked « remove from account » and I could then continue and it still works fine.