Problems with autopilot airbus 320

Greetings, if you mean that I know the buttons in the cockpit to activate the auto-pilot systems, I know the basics, what they teach in tutorials, and what I’ve done in previous versions of this game. the procedure I do is activate, buttons, AP1, A/THR and FL button. later in each one of them, I add the value, of altitude, and of speed, and the plane maintains them, but when I place the course to which I want to go, I place the value and activate the button with click, but the plane does not maintain the heading, and it doesn’t take the gradient, which I’m asking it to execute? what system are you referring to? In addition to this that I mentioned, thank you very much.