Added a promise version and alternate syntax version of unlockMessage.