Refinen messages in .lock.