About Automator and Remote Desktop
You can use Automator to automate Remote Desktop tasks such as Lock Screen or Install Packages, and then repeat those tasks again and again. Use application actions as the building blocks.
Using Automator actions, you can even make it possible for other users to do tasks in Remote Desktop without giving them administrator access. For example, let teachers lock and unlock screens by creating an Automator plug-in or application. This plug-in lets them select only the computers in their classroom, and the plug-in does the rest of the work for them.
You can create an Automator workflow, application, Finder plug-in, or Calendar alarm similar to the AppleScript script in Sample AppleScript for Remote Desktop.