@Dungbeetle Has a good point. If one of the door switches is faulty, it won't detect a door being open, hence auto locking.

As a matter of fact, I recall when I had my 2009 Patrol the bar door switch was stuffed at one point. I discovered it, not with the auto lock function, but the light not going on when door open.

Heather. Check the rear barn door switches.