Hello and welcome to the forum @shiyunkc!
Do you have the possibility to test with another keyboard to rule out that it’s a “slowly dying” or “occasionally going crazy” keyboard? However, I know that similar malfunctions have already been described here.
Michelist