Fun story. 12 years ago I lost 80 lbs with keto. 4 years ago I quit keto for convenience because grad school. Gain 10 lb/yr since.
January this year I started keto, didn't lose an ounce in 2 weeks. Eat less via IF and portion control but still keto, start losing. Eat a carb meal but still IF and portion control, still losing. Now I am on a standard ish diet (more emphasis on protein, more restriction on simple carbs) with portion control and gradually losing weight.
I tried dieting like this in 2010 but it "didn't work". In 2012 keto worked great but in hindsight it was likely the forced restriction and eventually calorie counting. Now that I'm good at calorie counting, CICO works great.
That's the thing with keto though. Being in ketosis doesn't make you lose weight on it's own. It just makes it way easier to eat less because you don't spend all day feeling hungry.
That really is the secret sauce of Keto. Of course, good portion control and healthy food choices also help keep you from feeling hungry between meals.