Although there is no specific provision relating to protection of witnesses however the Hon'ble Supreme Court of India has repeatedly asked the Governments to consider witness protection programs so as to maintain rule of law. The Law Commission has also in various reports referred to witness protection programs and scheme.
The Union Home Ministry in 2018 issued 'Witness Protection Scheme 2018' to protect witnesses. I am providing the link for the scheme. You can go through the same.
Shubham Bhardwaj (Advocate)
District & Session Court, Chandigarh
Punjab & Haryana High Court, at Chandigarh