There are two main options for this. The first is to download Android screen lock removal software. These programs let you connect your phone to your computer, and remove the lock from there. Then, you can go to debug mode via developer options. The other option is to hold the power and volume buttons, go to Recovery Mode, revert to factory settings and start from there.