I've been struggling with accidentally hitting this "lock" key a lot. I took the key itself off until I had a better idea.
This washer slides under the keycap while the keycap is secured to its post so you never lose the keycap but you also can't hit it.
Both pictures are with the washer installed. Unless you know it's there you won't see it.
The author marked this model as their own original creation.