There's a also a mechanism which unlocks the screen when you slide out the keyboard, but that takes you straight to the Hildon desktop and skips the lockscreen, so that's definitely not cause of your problem.