In Windows you may occasionally get issues with your wireless keyboard and or wireless mouse.
They will normally work but what happens when things don’t start to work properly.
Number 1
Check the batteries … many will be shocked to learn they do have batteries , I have taken 2 calls on this subject , this week alone.
So change them!
Number 2
Can be bluetooth issues so removing and adding them back in usually fixes the issue , here is a link to that subject.
How and why to use Bluetooth on your Windows 10 computer