Transistor as a switch for normally closed operation from a Raspberry Pi GPIO
take a look on those circuits. An image is worth a thousand words, interactive simulation even more. Instead of copying circuits, try to understand them! Stay curious.
Remember not to draw more than 1 or 2 mA from Raspberry GPIO - its not much, and not even close to maximum given by the manufacturer, but the fewer mili Amps the better (you have bigger margin for other pins).
I copied Your circuit FYR.
Remember, that in some of those circuits, if resistor values would bee too low, Your raspi might fry (12V line would force high current trough GPIO pin). Happy to help, if anything is not clear.