I will also cast a vote for Starting Strength. Get the book. Watch videos on YouTube. Then find a local certified trainer (hopefully there's one near you) to learn how to do it correctly. Proper technique is super important. If you don't lift correctly you will not be able to make progress and are likely to hurt yourself.
I did all of the above many years ago and even went to a seminar taught by Mark. If you don't know anything about strength training, this is the path.
Diet is super important. If you do not eat correctly you will not make progress. More importantly, don't expect strength training to be a weight loss program. It is not. In fact, you could get fatter and stronger at the same time.
If becoming lean is your primary objective, go to a knowledgeable nutritionist and get on a keto-type diet. Train yourself to be strict and consistent about your diet. It might take you a year or more to develop the right habits. Diet is EVERYTHING. Go take walks every day as your exercise.
I cannot over-stress the idea that diet is the most important thing to focus on if one is interested in becoming lean. For most of us we have to shake really bad eating habits that may have been cemented into our brains over decades. This is tough. And this is the first thing you need to work on body composition is a priority.
Having changed eating habits you can then start to look into exercise to optimize muscle and strength to the degree that might interest you. There's a difference between body building and strength training. In a nutshell, someone with big muscles isn't necessarily stronger. I'd rather be stronger.
So, diet first, exercise moderately until you learn how to eat better and achieve the kind of balance you are after and then add a higher level of exercise to get stronger. You will need to eat more. That's why it is important to learn to eat well.