avoid crash on exotic lock messages by quoting it