A lean on its own is common and often fine. What usually matters more is whether the ground under the tree has moved, and whether the trunk curved into the lean or tipped over as one piece.
Stand on the side opposite the lean and look at the soil. That is the side the roots are pulling on. If the ground there is cracked, humped, or lifting, the roots may be moving, and that could be a problem.
If the ground is flat and undisturbed, the lean is usually old news. Trees grow toward light and away from crowding, and a lot of them have leaned since they were saplings.
A trunk that curves usually means the tree grew into the lean over years and laid down reinforcing wood at the base as it went. That is generally the better sign.
A straight trunk that is tilted as one whole unit is a different question. That usually says more about the roots than the wood, and it is worth having somebody put eyes on the base and the root flare before the next big wind, even if the ground looks fine today.
We would walk the full circumference around the base, check whether the trunk is bowed or simply tilted, and look for anything that has cut roots on the tension side.
Most of the time the answer is that it is fine and worth keeping an eye on. When it isn't, you get a straight answer about how urgent it is and what the options are.

Arborwise Tree Check walks you through what you can actually see and helps narrow down what deserves attention. Estimates are free and we love talking trees.