The only way to unlock the phone now is through factory reset. Turn off the phone and then press Volume up + Power buttons until the phone enters Recovery menu. From that recovery menu, select Wipe Data/Factory reset and reboot the phone. Although settings, accounts and 3rd party applications were removed, you will gain access to phone.