Fix for the bug 990481

nit: space before ```{```

Also please follow Julien's advise and rename it to ```unlock```