Attaching to a work email account (Exchange based) can set a profile on your phone that requires an alphanumeric password.
This looks like a temporary bug where the wrong keyboard was displayed though. I suspect that just typing the numbers in using the keyboard would have worked as well as restarting the phone.