I seem to remember that a few years ago some versions of either TouchWiz or Android, that you could overflow into unlocking the phone.
The number required was pretty high, but you could get to it by copy pasting an already typed (In the emergeny dialer) number for a while, crashing the lockscreen until the next reset