Did you mean that?
def forward(self, x):
        out = self.fc1(x) #Linear 1
        out = self.relu1(out)
        out = self.bn1(out)
        
        out = self.fc1(out) #Linear 2
        self.out.weight.requires_grad = False
        self.out.bias.requires_grad = False
        
        return out