Our first home was 100+ years old and had lead paint on the windows and door frames. The windows themselves were vinyl, so I didn't have to worry about lead dust being generated by the friction of the windows opening and closing. We lead tested all of the woodwork that was in reach of our children, painted over anything that they could reach and made sure that we had no chipping or peeling. The walls had been painted over many times with latex but we had peeling problems (some idiot past owner had put latex over oil with no primer) so we did have to sand down the walls and for that, we were very careful to get the kids out of the house, contain the dust, wear charcoal filter masks while working and thoroughly wash down all possibly contaminated surfaces before opening those rooms to the kids again. None of them has ever had abnormal lead levels on their lead tests.
If the lead is just on the inside, you can take precautions and probably find a willing buyer when you go to sell the home later. If the exterior has lead paint, I would be very wary as that can contaminate the groundwater and become an environmental hazard and be very hard to remediate. Our exterior had been replaced with vinyl siding years before we moved in, but we passed on a painted wooden house that had lead paint on the outside because it can become a public health issue and you can (at least in MA) be forced to do a very expensive professional lead paint removal if there is any possibility of the paint contaminating the land.