Originally posted by elliott That is the Ricoh pin, it can get stuck in the AF screw drive on auto focus bodies and can make the lens nearly impossible to remove. There are some variations in the pin design though, not all will get stuck.
If it is fairly large diameter, rounded and doesn't stick out very far, it will usually be safe, I have an older zoom that has that style and it has never been a problem.
That one looks smaller than the safe one I have, so I wouldn't trust it. You can usually remove them fairly easily by disassembling the mount. You could also put a dab of superglue over it and hold it down until it dries.
Good point there about the pin sizes. I have a number of Ricoh lenses from my XR-P film days and have never had any problem with them on the Pentax. I was never sure what all the fuss was about. On inspection all are the larger rounded type. Nothing at all like the one in the photo (just lucky I guess)