This might be silly but I was having the same issues and couldn't figure it out. Make sure you don't have the option selected to immediately lock your phone at the press of the power key. I always turn off my screen with the lock key and that must override the unlock at trusted locations. Mine works all the time now.
... View more