The above situations are normal conditions when the active eco system is activated to improve fuel efficiency.
Body Control Module (BCM): Schematic Diagrams
Circuit Diagram
...
Auto door lock/unlock feature (Automatic transaxle, if equipped)
All doors will automatically lock when the transaxle shift lever is shifted
out of P(Park).
All doors will automatically unlock when the transaxle shift lever is shifted
into P (Park).
...