Unfortunately, I don't think there's enough thread left to hold a jam nut.
If the stud has tight thread space you can use 2 5mm jam nuts. They should be grade 5 or 8, or case hardened. And you'd have to be careful with torquing the first one. The jam nut doesn't need to be torqued to spec.
Just my thoughts and experience.
Gnarls.