Bypass iCloud Lock - Apple Solutions
If you go through the steps offered by the Apple community, they are of the opinion that you will need to do the following.
Enter your Apple ID and password and gain access to your device.
Once you have logged in, you should then go to find my iPhone and turn it off.
Now, you need to delete all settings and data.
Move to settings and then head to "general". Under "general", move over to "reset" and then you should click on "erase content and all settings".
This will format your phone completely and make it fit for using again.
If you have forgotten your password, you can choose to reset it by visiting the Apple Id page and following the instructions.