Removing iCloud Account Lock:

For iOS 10.3 or later:

  • Navigate to Settings, select your name, scroll down, and choose Sign Out.
  • Enter your Apple ID password when prompted and select Turn Off.

For iOS 10.2 or earlier:

  • Go to Settings, then iCloud, and choose Sign Out.
  • Confirm by tapping Sign Out again, choose Delete from My Device, and enter your Apple ID password.
  • Finally, go to Settings, then iTunes & App Store, select Apple ID, and sign out.

iPad (iOS 10.3 or later):

  • Access Settings, tap your name, scroll to Sign Out, and enter your Apple ID password.
  • Go back to Settings, select General, Reset, and choose Erase All Content and Settings.

iPad (iOS 10.2 or earlier):

  • Start in Settings, navigate to iCloud, sign out, and select Delete from My Device.
  • After entering your Apple ID password, go to Settings, iTunes & App Store, and sign out.
  • Reset by selecting General, Reset, and Erase All Content and Settings.

MacBook (macOS Catalina or later):

  • Open System Preferences, click Apple ID, uncheck Find My Mac, enter your Apple ID password, and sign out.

MacBook (macOS Mojave or earlier):

  • In System Preferences, click iCloud, uncheck Find My Mac, enter your Apple ID password, and sign out.

To remove iCloud account remotely:

  • Turn off your device.
  • Log into iCloud.com with your Apple ID, click Find My iPhone, select your device, and choose to delete the account.

Removing Samsung Account Lock:

Direct removal:

  • Open the Apps icon, go to Settings, select Accounts, navigate to Samsung Account, select your email, tap More and choose Remove Account.
  • Confirm by entering your password.

Remote removal:

  • Visit Samsung's website, log in with your Samsung account credentials, select Find My Mobile, enter your password, choose your device, and select to remove the account.

Ensure you follow these steps to avoid any delays in processing your return due to account locks.