Definition
to enclose a part of your body or an object inside a device or container as it closes
He accidentally shut his hand in the door.
Please make sure to shut the documents in the folder to avoid losing them.
When she quickly shut the lid of the box, her phone got shut in it.