But is there a reason why it don't work?
Yes it is a noncense, you explain why you think it would work. Then I might be able to put you right.
Also that lock signal is wrong, it is as if you don’t know how a transistor works.
want arduino to control an PNP transistor. The case is that the arduino will not always be on, so I want the output pin to be HIGH when in use.
So wht is wrong with using the 5V line on the Arduino? That is high all the time the Arduino is on.