add pattern lock for arm/disarmed process