Agreed. Tell your mom.
As a mother and a teacher, the thing that I hate more than anything is LYING.
My kids quickly learned not to lie. It IS discovered, and then the punishment is FAR worse for lying than the original thing they lied about!
As a teacher, lying in my classroom can get someone in serious trouble. This includes a call to the parents by the child in my presence so they can tell their parent(s) they lied to me, a written note of apology, and, sorry to say, a loss of trust for a time until it can be earned back.