Press the key once it's like a deadlock, not possible to open from inside or outside therfore no good if you leave anyone locked in.
Press twice and the door can be opened from inside but not outside. If say you left your kids in the car, they'd be safe from intruders but could get out in an emergency.
Safelock, rtfm!