Added unlock logic (including an unlockresult response)
Use either label or name for the lock label option
More tests