Settings > Wi-Fi. Click on the ‘i’ next to the WiFi network you want to connect to.Remove the DNS settings and enter a new one according to your location:( USA/North America: 104.154.51.7,Europe: 104.155.28.90,Asia: 104.155.220.58,Other areas: 78.109.17.60)
Tap ‘Back’, and then go to ‘Activation Help.’Once the bypass is complete, you’ll get a message saying "You have successfully connected to my Server.” Now you have successfully been able to unlock iCloud locked iPhone.