Depends on the model, newer phones have this efuse nonsense where you try to jailbreak/unlock it blows that e fuse and then you can't use much of your apps or phone. But with that said Im not sure if you can bypass that. There is options to remove bloatware clean but it kinda just puts the apps to sleep. I myself was looking into this with Samsung phones. Hopefully someone with a more knowledge on this can help. I have used software to clean up the phone but not unlock it or jailbreak it dont want to brick it.