Locks by key or code and bolts to a wall or floor — it is the anchor that stops the safe being carried off whole.
Internal size is always smaller than external by the wall thickness.