In MacOS, is there a way to prevent unwanted input when the screen is locked? When I walk away from my MacBook Pro (2016, if it matters), I lock the screen, but leave the laptop open.  If my cat decides to make a bed from the computer while I am away from the desk, when I return, I often find a number of programs opened once I unlock the screen.
My only assumption is this is the Touch Bar, hotkey shortcuts, or some combination of the two.  How is this even possible?  Shouldn't the computer be completely unresponsive to non-login input?  If that's not the case, how can I make that the case?  I don't want anything but the ability to log in.
Currently running Mojave (10.14.6), but this happened on prior versions as well.
Did you set your Mac to lock by going to System Preferences &gt; Security &amp; Privacy &gt; General, and then select Require Password, as shown below?