Allowing printing within lock.