User Activity

I have a galaxy s21 and it is frozen. I took it to a cellular repair place and they indicated the mother board is defective and needs to be replaced. Is this something that I can do without violating my contract?