Osteo arthritis is not inherited, it is due to natural wear and tear of the joints. These can be anywhere in the body but weight bearing will be impacted because we evolved upright. We are a little taller in the morning than at night. Apparently

. X-rays will confirm which painful joints are affected. Some may never be painful, often it's the 'gristle' between the joints that is worn allowing bone to rub onto bone

. Relatives may well suffer too, my paternal Grandad could 'feel' rain days B4 it arrived due to pain in his knee caps.
Rheumatoid arthritis is an auto immune disease - hot, swollen joints are characteristic of it, years ago Gold injections were given to relieve pain.
Pains down the shins is often caused by another syndrome, sorry - have forgotten.
If a knee 'gives way' it needs to be checked by a medic or physiotherapist who will check the gait and advise exercises. Importantly the quadriceps [thigh] muscles are the first to atrophy if a person isn't exercising regularly, so quads exercises are necessary. These can be done anywhere, however I do forget to practice. Tightening the thigh muscle, holding, relaxing ...... often. Cycling is good for this particular muscle.
Auto-immune diseases may be inherited. Others may arrive. Taking pain relief prior to exercise such as mowing the lawn may well help.