I have the same problem that the keyboard (app simple keyboard) is not displayed after starting up to unlock for the first time. After restarting, it is displayed. So it only occurs when I shut down/turn off the phone.
When the system keyboard is activated, the problem does not occur.
I am using the latest GrapheneOS and have set a password for the display lock. No PIN.