Hi @henryone, in the following posts times 2 examples, how I execute KM actions on my iMac via Siri Shortcuts. Thereby the scan is triggered via SSH action and the snapshot with the following alarm and the locking of the keyboard via iCloud Drive....
Please click on video in the posts. You will then come to Droplr and can see the videos in a better resolution
What I do on a daily basis is use Hey Siri to wake my Macs up from sleep and then use a Keyboard Maestro macro to unlock them.