I forget exactly what I tested but when I just got my 4runner, I tried almost every conceivable way possible to lock myself out while in my driveway and I recall Toyota made it pretty fool proof for the most part so don't worry too much
The only auto lock features I can recall is when you pull it out of park and when you start rolling over a certain speed like someone else above said.