Here is the app: http://www.knocktounlock.com/
Which leads me to believe the prior threads on this topic(CoreMotion updates in background state) are no longer accurate because it does indeed work reliably even when your phone is in sleep mode and locked.