1. The judge slowly took out three gold coins from his pocket.

2. The judge slowly put in three gold coins in/into his pocket.

(Is #2 correct as the opposite meaning of #2? Can we use both 'in' and 'into'?)

3. The public prosecutor accused the criminal, but the lawyer/attorney tried to defend the criminal. What sentence will be made from the judge?

(Did I use the technial terms well? Would you correct errors in the passage? Do I have to add 'public' before 'prosecutor'?)

1 is correct. You could also say this, "The judge slowly took three gold coins out of his pocket." [Both sentences mean the same thing.]

2 is slightly incorrect; the word "in" is there twice, but it shouldn't be. Here's a correction for you: "The judge slowly put three gold coins into his pocket."

Yes, 2 is the opposite of 1.

3 is basically fine. The word "public" can be there or not; prosecutors are always employees of the government, therefore, considered public (not private). The first sentence is fine; the second sentence needs a different verb instead of "made." It would be better to write, "What sentence will be imposed by the judge?"