Power off displays? Automation

Hi, I’m using UI Path with 2 displays, Can I keep the program running with the monitors turned off?

Or even better, is there any way to lock the computer so nobody can use it while my automation is working?

Let me know please,
Any ideas?

Thank you.

That depends on the type of activities you use. Every native Windows function should work without monitor output and locked machine, because they can run in the background. Everything that uses a find image or similar needs an unlocked machine, but no enabled screen.