My wife had a total knee replacement about 2 years ago, and her surgeon said something interesting: He actually encouraged her to do low-impact weight-bearing activity (walking, hiking, etc...but no running). The reason is that the weight bearing maintains or increases the leg bone density, and serves to help lock the knee replacement implants in place more firmly.