Hi; You are asking two questions - 1) the use of that vs which and 2) restrictive vs non-restrictive clauses. For #1, this is a good resource to read. It has many examples of relative pronouns.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.