If you are using a replacement home screen, you can use app protector and set the pin through the app and have it protect the home replacement app. Make sure to turn off always licking mode in settings that way it will only ask for pin when you lock the screen, not every time you navigate away from your home.