iOS flaw used to bypass iPhone's lockscreen | Apple, Mac, MacOS, iOS4, iPad, iPhone and (in)security... |

The good news is that the steps are many and unlikely to be executed by random attackers. The bad news is that this trick has been shared all over the Internet.

So, until Apple pushes out a new version of iOS and fixes the flaw, you might want to consider not leaving your locked iPhone unattended, especially around people you don't trust.