static void OpenLockObject()
    {
        if (instance != null)
        {
            instance.Close();
        }

        instance = EditorWindow.CreateInstance <LockObject>();
        instance.Show();
    }