Prevent entering PIN code before lockscreen
There is no way I am aware of for doing what you want. But why you need the pin unlock, just remove it from settings and stick with the unlock screen,, in this way you will not have your sim locked