Judges 16:17morah
So he told her all {that was} in his heart and said to her, "A razor has never come on my head, for I have been a Nazirite to God from my mother's womb. If I am shaved, then my strength will leave me and I will become weak and be like any {other} man."
Samson reveals the uncut hair tied to his strength.
1 Samuel 1:11morah
She made a vow and said, "O Lord of hosts, if You will indeed look on the affliction of Your maidservant and remember me, and not forget Your maidservant, but will give Your maidservant a son, then I will give him to the Lord all the days of his life, and a razor shall never come on his head."
Hannah vows her son to God, promising no razor.