What happens to your high school credits if you transfer to North Carolina for grade eleven and then transfer back to Canada for grade twelve and graduate there?

As long as your high school in North Carolina is a state accredited school, there will not be an issue and all your credits will transfer.