Craft a block that Wither cannot destroy, either with initial explosion, or blue skulls.
Recommended minimum inner dimensions: 3x3x4. Otherwise Wither may escape by clipping through blocks.
Crafting recipes:

Can be easily broken by player with diamond pickaxe

