might be a dead/dying door lock actuator. happened to both my front doors (different times) on my 2013. it's a $50 part and not hard to install, just make sure you get the right one - driver's vs passenger's:
https://www.amazon.com/Door-Lock-Actuator-Motor-69040-0C050/dp/B078TL28GD