@siriusf SOLVED!
Steps:
i) Follow the instructions in the links bellow to use the bypass tool (python script). You will need to press the up an down buttons so that Windows can detect the device. After running the bypass python script I obtained this and the device was shut down.
Screenshot 2023-04-16 155845.png
ii) I did NOT turn on the device. Then I use the ROM file (fastboot) provided here
https://xiaomistockrom.com/xiaomi-redmi-9a
and the Mediatek SP Flash tool with this instructions to flash to the device