Race condition (i.e. CRASH) in MessageManager::Lock (with fix!)

Maybe related BlockingMessage accessing MessageManager::Lock that went out of scope