You can factory reset your iPhone and wipe all its data in the Settings app. If you don't remember your password, you can use ...
Activation Lock is a feature that's designed to prevent theft by requiring you to enter an Apple ID password before using an iPhone or iPad.