The word "where" represents a location, a specific position. This means that words and prepositions like "there", "in", "on", "at" should be taken out.
1. The room (,) where I put my bag (,) is locked.
== the word "where" causes the words "in there" to be taken out
2. CANCEL THE QUESTION. NOT A GOOD QUESTION.
3. CANCEL THE QUESTION. NOT A GOOD QUESTION.
4. The location (,) where Mei Ling shot the last scene (,) was perfect.
== the word "where" causes the the word "there" to be taken out
5. The shop (,) where I saw a similar bag (,) is nearby.
== the word "where" causes the words "in it" to be taken out