First up, every op is different, so go with what surgeon says, obviously!
My op was 2 years ago, was back at work 3 days after, no pain really had a wee bit of swelling. I took a month off the bike, was fine apart from some stiffness after the first few weeks rides.
Best thing I’ve done for the knee is running, I had reservations as it was stiff at first, but I reckon the running has rebuilt the wasted muscle and it is miles better now. I have a little less mobility, ie canny really get my heel up to touch my arse cheek when stretching quads, but it’s a small price to pay.
Not as much as a peep out of it now running half marathons, got a couple of bigger runs booked for next year! best of luck.