public static void LockWall()
        {
            if (Device == null)
            {
                return;
            }

            if (!isVersionV3)
            {
                Device.CloseDoor();
            }
            else
            {
                if (GpioCardObject != null)
                {
                    if (GpioCardObject.IsConnected)
                    {
                        GpioCardObject.SetOut(2);
                        Thread.Sleep(500);
                        GpioCardObject.ClearOut(2);
                    }
                }
            }
        }