Yup. Needs to be active when the user is away.
Or maybe a motion sensor, possibly coupled with a sensor on the door.