Very useful and easy to install solution.
I had to do it with an Esp32-c3 and BLE keyboard library.
It would be perfect if it were possible to send a keystroke before the password for example CTRL+ALT+SHIFT+t (tablet mode) and another keystroke after login for example ALT+1 (launching the first app in the taskbar)