Look what I've been repairing today!
Took me a while to work out why 2 of my window stays were sliding free and not locking. I had to take a working one apart to see that there is a piece of 5mm o/d steel rod that acts as a cam lock roller, and that this was missing - how, I'll never know!
I replaced it with a bit of 5mm threaded bar that I hacksawed off a bolt. If anything it grips better now because of the thread.
It's a fiddly job, but once you get it apart it is pretty easy. All you need is a philips screwdriver.