If you have proof of ownership, Apple provides official channels to restore access:
:
The device must be put into Device Firmware Update mode to allow deep system changes.
: If you restore the phone using official Apple Support methods or update the firmware, the iCloud lock will reappear.