freeze# freeze(k: PlanarDiagram | OrientedPlanarDiagram)# Freeze the given planar diagram inplace so that it cannot be modified anymore.