UNLOCK (Hashing)

Why is it failing the test cases?

https://ide.codingblocks.com/s/297662 Why is it failing the test cases?