From the op’s description it sounds more like old sludge varnishing up the mechanism. If it were the rod backing out, oil on the latch wouldn’t temporarily solve it just to have it return.
If so a detailed clean & lube of the guts is in order.