Update message unlock code

Signed-off-by: Rick Copeland <rick@arborian.com>