Immure means to enclose within, imprison, or confine.
- She locked all the doors and immured herself in the house.
Inure means to get used to something difficult, painful, or unpleasant.
- He has become inured to the difficulty of the English language.