When you get your lock a Token guid will have been returned as an output parameter. You need to use that when you do your unlock. Even better, if you only want one session to get a lock, provide your own token name both on the aquire lock and release lock actions.