If you need help with the SSH script in the Siri shortcut @cherry, please contact me.
In my example, it assumed that you were connected to the iPhone & Mac in the same Wifi/Hotspot. You can also trigger KM macros via a Siri - Cloud - shortcut.
Here's an example of how I unlock my Mac's via Touch or Hey Siri: