Locked System (why and how to unlock it?)

I have been on WhatsApp with support for an hour, not helpful, asked if I have an API, I have 3 of them. Having an API lock your system out, and keeping it locked even after you delete the API, is not a feature anyone would want or ask for.

Honestly all I want is to know how do we reset it, can we stop it from happening, can we reset the battery to default settings and wipe the memory… without removing any of the API?