A few years ago I had put on a lot of weight after a partial knee replacement had stopped me doing sports. I didn't go full keto but did make some key changes to my diet.
The big thing was cutting out sugar - it is harder than you think as there is so much sugar added into products. However...