Hi ,
I'm Dyari. Thanks for reaching out. I will be happy to assist you in this regard.
Scan your computer with Windows Defender multiple times. Then scan it with the free version of Malwarebytes.
Then, use another keyboard and mouse to see if the issue persists.
You can also change your account's password to be on the safe side. Follow these additional steps to keep your computer secure:
Please feel free to ask if you need further assistance.
Stay safe.