The legal term for that is witness tampering.
This is shocking.
Not so much, no.
I don’t think you can be stopped from talking with a witness. The prosecution can introduce the evidence at trial if they think it indicates a guilty mind. You can’t make an improper request for a witness to lie, but no one could prepare their case if they can’t talk to witnesses. Unless a court order forbad it.