Phrasal Verbs
to put someone in a room and keep them there; to go to a room and stay there She shut the dog in the shed while she prepared the barbecue.
to trap something by closing a door, lid, etc. on it Sam shut his finger in the car door.