reversing the Locked value