The motors on these locks wear out eventually. Had to replace one of mine a couple years ago, it’s a pretty easy fix. If you look in the area of the lock you will find an access panel, usually in a cabinet. Remove the panel to get access to the motor. Here’s a link to the part that I installed. Includes a video.
http://www.hwh.com/roomlocks3.html
Scott
2019 American Coach Dream 45 A , Allison 4000, Freightliner Chassis
2017 Ford F-150 King Ranch, Toad, Air Force One Supplemental Braking
Retired LEO