Hello,
I also want to share my solution regarding a similar problem I had a month ago.
If you’re locked out of your macbook and you’re stuck at the login screen without any bluetooth and your keyboard doesn’t work at all, you can quick-press the turn-on button three times to show the accessibility options, and under “keyboard” check “enable accessibility keyboard” so you can type your password to login manually using the accessibility keyboard. This works for MacBook Pro2019.
Wish this could help!