Your next iPhone could lock itself if it senses youre not the one using it

Apple filed a patent application on January 17 2013 entitled “Generating notifications based on user behavior,” which was just published by the U.S. Patent and Trademark office. It’s all about enabling your iPhone or another mobile device to recognize you by your typical behaviors.
By combining sensor data on “movement, rotation, ambient temperature, ambient light, magnetic fields, acceleration, and proximity” with location tracking and input interactions, your iPhone might be able to determine whether or not the person currently caressing it is really you.
In the event an unauthorized user does decide to take a sneaky peek at your iPhone, the phone could send an alert to another one of your devices and lock itself, prompting the person holding it to enter a PIN or use Touch ID to verify themselves.
This kind of in-depth behavioral analysis inevitably involves collecting a lot of data about how you move, where you go, what your typical environment is like, and how you tend to interact with the device via gestures. It even takes into account your regular typing mistakes, general grammar, and preferred vocabulary.
All of this data would be stored on an Apple server and compared to your current usage patterns. Privacy concerns may be assuaged by the statement that the server “may request that the user explicitly authorize the pattern analysis or filter out specific types of behavior that are analyzed.”