You can use anytime an external keyboard, just type the passcode and follow the instructions displayed by your I phone
There is a while range of keyboards type, including Microsoft universal keyboard ($80), Logitech wireless keyboard ($40) or Hype bluetooth keyboard ($40)