My first thought is definitely hot corners. I’ve had those irritate the tar out of me before I realized that’s what I was doing that was making some thing happen (also usually Lock Screen). See if you move the move to a particular corner of the screen if it does it.
Hot corners settings are Desktop and Dock in the System Settings in Ventura, all the way at the bottom in the corner.
Otherwise, does it do it if you’re not using the trackpad?
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
4