Numbers 6:5

ISV(i) 5 During the entire time of his dedication, he is not to allow a razor to pass over his head until the days of his holy consecration to the LORD have been fulfilled. He is to let the locks on his head grow long.