You can set your phone to do that, of course, but I prefer not to have to unlock mine when I’ve just used it.
I use Paranoid’s Pal, a similar app. It’s great. In addition to locking in response to motion, I have it set to automatically lock the phone a few minutes after the screen turns off.
You can set your phone to do that, of course, but I prefer not to have to unlock mine when I’ve just used it.