2018 Optima LX
Just a W.A.G. but ow is the battery in the key fob you are using. My wife has aHyundai and it started acting weird after about 4 years. Sometimes unlocking the doors sometimes not and not starting. I replaced the fob battery and we were back in business.