I have forgotten my phone's pattern lock now in order to unlock it there is one option I know is by using Samsung account I can unlock it but unfortunately my phone's notification bar is locked and phone's ADB debugging is also off, so how can I make my phone online. I don't want to hard reset as it will erase my data in the phone so please if anyone know how to connect a locked phone to internet please tell me and also let me know if you know how to break pattern lock without losing data. thank you so much.
insert sim card into another phone and disable SIM PIN completely. now insert sim card back into locked phone it will connect to mobile data automatically without asking for PIN. finally login to find my mobile on pc and remote unlock phone