error CS0120.GameManager

error CS0120: An object reference is required for the non-static field, method, or property ‘Behaviour.enabled’

using UnityEngine;
using UnityEngine.SceneManagement;

public class GameManager : MonoBehaviour
{
    public Movement M;
    public float levelRestartDelay = 2f;

    public void EndGame()
    {
        Movement.enabled = false;

        Invoke("RestartLevel", levelRestartDelay);
    }
    void RestartLevel()
    {
        SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
    }
}

“Movement” is a Type, not an instance of a class.
If you want to enable/disable the Movement-Class you’re referring to in your script, look at “M” instead.

Thank you very much