It's in the settings of the phone (if I'm understanding this right). After you set the phone to lock screen with a pin, do this (hopefully this is available on your phone, it might be slightly different depending on software version)
Settings=> device=> lock screen (under personalization)=>...