shut away

中上級 (B2) neutral

To keep a person or thing somewhere closed off so they can't get out or others can't see them.

"She shut herself away for three weeks to finish writing her novel."