What happens when you boot to recovery mode? You might have to wait a really long time (30 to 60 minutes) for it to recover.
If that doesn't work, and you enabled USB debugging when you unlocked the boot loader, you should be able to flash a factory image. Be sure to edit flash-all.bat (or flash-all.sh if on Linux) to remove the -w from the flashboot command at the bottom of the file. Removing the -w will prevent it from wiping your data. Be sure you execute the edited file, and not the original file. Also, be sure to get the factory image, not an OTA image, and to download the latest platform-tools. This thread is a good guide to follow to flash the image.
https://forum.xda-developers.com/pixel-3/how-to/complete-pixel-3-how-to-guide-newbie-t3922269
I'd try to flash an Android 10 image and recover the data instead of trying to downgrade to Android Pie and install TWRP.