I recommend, if you have time, a serious routine of strengthening the leg BEFORE the surgery. FWIW I has a TKR after six previous surgeries on that knee.
I do several sprint and Oly triathlons each year, and have done a Ironman 70.3 Aquabike. I have had an USATriathlon ranking in the 60-64 age group for the last two years. I walk rather than run.
I like my new knee.