Walk-away-auto-lock is a feature that is not uncommon but not universal.
However there are some edge cases where these systems do not always lock when walking away, if you're opening other doors, the trunk, etc.