Suppose you have set an iCloud activation lock for your iPhone but forgotten the password, or you purchased a second-hand iPhone or iPad with the previous owner's iCloud account linked with it. Apple strengthens the data security system with iOS 13 and later versions.
An iCloud activation lock prevents your individual information from being hacked by unauthorized people.