There are a few ways to unlock your Android phone’s settings. One way is to use a rooted device. Another way is to use a custom recovery like TWRP. If you don’t have a rooted device or if you don’t want to use a custom recovery, then the next best thing is to try using the factory reset option.