&fRoman1;〔部屋などに〕shut oneself in [up]
A cold confined him to his house.／He was kept at home by a cold.
You shouldn't shut yourself up in the house. Go outdoors.
lock oneself up in a room
This child has withdrawn into his shell and won't open his heart to anyone.