I use the following method about how to bypass iCloud activation screen lock.
Go to "Wi-Fi Settings" > tap the "i" symbol next to the WiFi network to which I want to connect > Remove the existing DNS > Input the new DNS according to my location
Below are some DNS and a relevant article for reference.
For users in USA/North America, the new DNS is 104.154.51.7