It does if you push the latch closed as above - the car thinks the boot is locked shut. Just don't forget to blip it open again before trying to slam it shut when setting outWould leaving the boot ajar allow the alarm to be still be armed?
most boots have adjustable rubber stops on them to help with shut lines, you can usually give these a little twist to increase/decrease the gap.