Output correct time in locking message