Masters or PhD

A

Hello people,
I'm an undergraduate (Bachelors) applying to universities in the US for a graduate program in Chemical Engineering. I am interested in research and would want to do a PhD some day. Most of these universities have the option of opting for their PhD program at this juncture;
My worry is this: If I choose to apply to their PhD program, I would have to work through the Masters. However, if something goes wrong or if I find something unsuitable, would it be possible for me to change the university after my masters or quit with a terminal masters degree?
Thanx!

5884