I also ran into this problem with Fedora 31.
After I followed these instructions https://discussion.fedoraproject.org/t/howto-cannot-open-access-to-console-the-root-account-is-locked-in-emergency-mode-dracut-emergency-shell/2010/2
After that I was able to type ‘exit’ in the console and fedora rebooted normally.