I'd also be curious as to why you want this.
In my experience, a computer that's running Selenium tests in a visible browser is all but unusable for anything else, since the browser keeps stealing focus. And, a computer running Selenium tests in a headless/invisible browser is (to the user) functionally indistinguishable from one that isn't.
If you want to know when the tests are done running, I would advise adding a notification step at the end (possibly sending an email, though there are many options that may work).
If you need to watch the tests so that someone can intervene in the middle of a test for some reason, I would strongly suggest that the test needs to be rewritten so that that's no longer a requirement.
If you just want to display the tests as they run so that passers-by can watch the changing browser state, the tests should probably be running on a dedicated system that's designed and provisioned for that purpose.
Is it a company laptop? You're employer may be forcing it via policy.
If it's policy that screens are locked after X time, I would strongly discourage trying to work around that policy without in-writing approval from at least your supervisor/manager. Again, if this is a display piece, getting a special-snowflake system from IT to display the tests might be the best option.
If all that fails, there are dozens of programs that will simulate key presses or mouse movements, or you could tell your Selenium runner to register as (basically) a video player (this StackExchange answer looks to be a good start).