<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def freeze_parameter(self, name):
 """ Freeze a parameter by name Args: name: The name of the parameter """

        i = self.get_parameter_names(include_frozen=True).index(name)
        self.unfrozen_mask[i] = False