You can be screened at any checkpoint at your ticketed departure or connection airports. The TSA could not care less. It's on you to make sure you can get to your gate after you clear security. If you get a very alert TSA officer, they may comment on your airline being in a different terminal but they will always let you through.