You have to connect to WiFi. Know your DNS, DNS can be use to bypass but you will not be able to access all features of your devices, the only way you will be able to access all features, you have to use to use a software.
It works for IOS 8 to 10 but you try for other iOS, imyiphone Lock wiper is what you will use to access all features and if your done, you will sign in a new Apple ID, is only clean mode it works I don't think it works for lost mode🤔🤔