Thinking out loud here. It unlocks once the vehicle is moved. Do the doors lock automatically once the vehicle is in motion, do they unlock once you put the vehicle in Park, my truck is set up to do that, and they lock once the wheels get turning.
Does your vehicle have a "settings" area where you can set up lights, locks etc to your preferences? If so, go to that settings area and change things around. If you have no settings area, disconnect the chassis battery for awhile, then the computers may re-set.
If it was my vehicle that is what i would do. If you have a remote, install new batteries also.