The Front door has a tendency not to fully latch. The facilities people are supposedly working on it. But until that happens you really have to check that the latch is fully engaged when locking up. This is true if you use the back door also.
The door will close enough that the alarm can be set and still be open.