Log locks in @locked decorated