If your SIM card came with a default PIN code, you can change it to something more secure.
- Swipe in from the right of the screen, and tap Settings > Change PC settings > Network > Connections.
- Tap the mobile broadband network name.
- Under Security, tap Change PIN.
The PIN code can be 4-8 digits.