Greetings Melixies,
My name is Carlo, I'm an Independent Advisor and community member like you.
I am also using Windows 10. Let us work together to sort this out.
Here's the steps you can try.
Press Windows Key + X
Go to Device Manager
Look for Human Interface Device expand it
Look for the driver of your Stylus Pen
Right click then uninstall it.
Restart your device and check if issue persist.
I hope the information above helps, let me know how it goes.
Have a wonderful day ahead and stay safe.
With Warm Regards,
Carlo T.