• Touch the Settings app and then scroll down to find iCloud.
• Touch "iCloud" to open it.
• Scroll down until you find "Remove Account" and then tap on that.
• Touch "Delete" again to confirm the deletion of the iCloud account.
Besides iPhone and iPad, you can also use iCloud Unlock Tool to unlock iCloud account without password. To do that, like PassFab Activation Unlocker. That is how:
• Download and install it on any Windows computer.
• Connect your device to it and follow the instructions to unlock it.
• Confirm your device information.
• Now you can delete iCloud account without password successfully.
Hope this will be helpful for you.