In what ways does self-reliance in defence contribute to India's strategic autonomy?

I am curious about the connection between producing defence equipment within the country and the ability of India to make independent strategic decisions, especially during conflicts or global tensions.