There are many ways to soft-brick a device to the point where it cannot easily be used again, and “Cloud locks” or parental locks are probably at the top of the list here.