There is no way to remove iCloud lock.
But there is couple things you can do to bypass it..
Thew most common and Easy is DNS bypass.
So first
Reboot your iPhone ready to set it up as a new device.
Start the setup process.
On the “Choose a Wi-Fi Network” screen press the “i” next to Wi-Fi symbol for the Wi-Fi network you want to connect to.
Scroll down to where it says ‘DNS’ and type in 104.155.220.58
Tap “Back >” at the top left of the screen.
Click your Wi-Fi network
Type in the Wi-Fi password and click “Join” at the top right
The iPhone will try to activate by going to a new screen. Don’t let it, hit the Back button at the top right to return to the WiFi page where you will be logged in.
Once logged in you will see a screen which will say something like “iCloudDNSBypass.net” at the top.
Scroll down and click Menu to access the various iPhone features like User Chat, Social, Internet, Mail, Maps, YøùTùbé, Video, Audio, Games and more.