Add error case for double unlock

With test.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>