How does a frictional hinge work?
I guess below link will help you out In understanding friction hinge
They use friction :)
But in all honesty, Mohammedazim posted a great link to a short read that will go in-depth about the hinges.
If you're like me and a visual learner, I will post a link to a video down below which steps through the process in detail.