Features/sketches exit at random

I'm trying to find the language to describe a problem I'm having in general with Solidworks.

Sometimes when I'm in a sketch or a feature properties menu Solidworks will seem to close the sketch or properties menu as if I've just hit escape.

Sometimes it happens when I right click on things, like making selections using a right click menu. It's as if it receives another command and just cancels whatever it is I'm working on.

It seems really random and I'm not sure when it happens really, it may happen more often but in a situation where I don't notice it. There is a flicker of the cursor into the windows "working" circle thing as it happens.

We're still on SW2018 SP5.

Anyone experienced anything like this?

SolidworksModeling And Assemblies