System Bridge: How To Lock Desktop & Control Volume

Hello, I have been trying to determine the perimeter or API command to lock a Windows 10 desktop and control the volume via System Bridge.

I assume it could be done using keystrokes but the super key (Windows) does not seem to be an acceptable character and the fn keyboard shortcuts for volume on a laptop do not work on desktops.

Are there any direct ways of doing this? Bonus if I can unlock my PC from HA as well!

ESP-Home.
There is a custom component that has keyboard support.
I have one on my work PC with a person sensor and card reader.
So I can unlock the PC with my card and as soon as I leave the PC the person sensor stops detecting me and locks the computer.
The person sensor sometimes misfires so not sure I recommend it.
But perhaps the newer versions of it is better.

I just found out about HASS Agent, which provides an entity for both the volume controls and screen lock!

Now to figure out a secure way of proximity unlocking… might not be worth the convenience.