Answer:
It means to seal up behind a wall. Usually not in the sense found in Poe's Cask of Amontillado, more in the sense of someone who goes into a building and never comes out. E.g. "After the Byzantine empress was deposed, she was immured in a convent."