In order to climb/descent and maintain the desired altitude, follow these steps
- Select the altitude
- Click on VS ENG button
- Right click on the inner knob to select a VS
- Click on ALT ARM button
The last step is very important, if you don't select ARM, the aircraft will climb/descent at the selected VS and won't level up.