I am running 5.0.0.0.411 and pressing the top lock button simply locks the keyboard if you don't have a security password enabled. If you do have a password enabled then the lock button will lock the device and a password will need to be input to unlock.

Obviously this may have changed with .509 and that is why I downgraded back to .411.