Arm a simple security system based on mode.  Has a grace period to allow an ever present lag in presence detection.