Lock the computer when key removed


I saw an article about how to have my computer lock itself (gnone) when the Librem key is removed. Has anyone here been able to accomplish this?


If someone who’s done this could post some easy to understand steps for the less savvy members like me, you’d be a real hero. I’ve wanted to get this set up for a while and haven’t had much success.


Have a look here