You can change a Course Code or Class Code if you want to. However, keep in mind the following:
If you change a Course Code, the existing Classes will not be updated. You will have to do this manually. But all future classes will carry the new Course Code.
If you want to change a Class Code, go ahead and do it via Edit Class. But careful not to affect the Course portion of the class code.