I want to implement an app that locks my open session on Windows 10, when an event occurs. I saw more or less the same question here , and the answer seems to say, there is no way to lock the Windows screen programatically. However, I already saw some applications do lock Windows screen (for example, Nymi Companion Device Application).
Do you know how to implement the locker? Or which module allow to achieve the task?