To erase your old iPhone, go to "Find My iPhone > All Devices" and select the device you want to remove or unlock. step 3. Select "Erase [Device]" and then "Delete from Account" after erasing it. The activation lock will be removed when the preceding stages are finished, allowing you to use your own Apple ID.