To secure (someone or something) in a locked enclosure.
To fix the value of (something potentially variable).
To prevent from escaping or deteriorating.
To enclose by surrounding with walls.