Locking in a altitude with the A320

This will help you understand the issue you have and how to fix