I can't recall a movie I saw back in the 90's on TV. I can't recall what happened in all the movie except the last 20 minutes. I recall a girl and a boy, maybe another boy were inside a cave or under a basement. The kids were like 10-13 years old. I think they were white.
It seemed they were trying to escape, but the genie or troll or some creature stops them. I recall the creature to be big. If I'm not mistaken the girl tells one of the boys to tell the creature some words in some weird language. The creature gets the boy and bites him. I think that by bitting him, it loses power I can't recall what happened exactly. In the end, they get out and the boy asked the girl what the words meant. She says bite me, I give you permission to bite me or something like those words.
I was like 3-4 years old so I can't recall much, but always wondered what movie it was. I don't recall if it was foreign. I have looked over many American movies dealing with fantasy from the late 80's and 90's and trying to see if I recall it but no luck. So I believe it might have been a foreign movie that was dubbed.