Hello phan,
Thank you for reaching out to Microsoft Community, did you try to Detach the Type Cover / Keyboard. You can do Power off your Surface then remove the keyboard or touch cover, Boot into UEFI again and observe if the ghost typing and brightness issue persists.
If the issue disappears, the keyboard is the culprit
and regarding on your brightness since you already do an update and reset screen brightness, you can use a surface diagnostic toolkit https://support.microsoft.com/en-us/surface/fix-common-problems-using-the-surface-app-and-surface-diagnostic-toolkit-f61d8d18-37a9-863d-f8d0-1982eb16f7b5#bkmk_sdt
just to check everything on your surface
Please let me know if it works. I await your response.
Warm regards,
JayMark