You would need to create an instance of your class, which will create the parameters, which you could freeze thereafter.
The state_dict contains tensors mapped to the module names from its model, which do not require gradients by default and only store the values.