Locked Away in Wood

I'm taken from a mine, and shut up in a wooden case, from which I am never released, and yet I am used by almost everyone. What am I? Think you know the answer??? Pencil lead. Visit Our YouTube Shorts Channel: https://www.youtube.com/@HurdlesAndHarmony4All/shorts