I've had that happen a couple of times on my truck and once on my wife's truck. I think I'm on my third switch assembly for the driver's side door. It did some really weird stuff when it went bad on my truck the first time. I thought I had a FOB going bad, possibly the RF hub as well. Took it to the dealer the first time around as it was covered under warranty. All they did was replace the lock switch assembly in the driver's side door and everything worked fine. They second time the lock button stopped working was out of warranty (no extra drama that time). I just ordered a new switch assembly and replaced. Been good ever since. When the one on my wife's truck went bad, it was just the lock button that wouldn't work. No extra drama on her truck. I replaced her switch assembly as well and it's been fine ever since.
2013 Ram 2500 Laramie QC LB 4x4, Thuren Fabrication adjustable track bar, sway bar kit, and 2" leveling kit, Bilstein 5100 shocks, Westin Chrome Ultimate Bull Bar, Weatherguard Saddle Box, Line-X Bed Liner, Cooper Discoverer AT3 XLT's LT315/70/R17