The same thing happened on my iPhone 12 Pro IOS 14.4
My keyboard wouldn’t appear and I couldn’t reset the keyboard because I couldn’t enter my pass code!
However, I remembered I had previously connected to a Bluetooth keyboard. My wife had plugged it in to charge it and my phone connected automatically thereby disabling the phone keyboard.
I disconnected the Bluetooth keyboard - great!