But you see what I mean about the retracted deck? If it's retracted, the pin is flopping loose, regardless of the hole it's in.
You can check at Tractor Supply, they have all sorts of pins, some have latches. A pin with a ball detent would be perfect, but a lucky find.