Go to Settings > Privacy & Security > Safety Check, and then choose either Emergency Reset or Manage Sharing & Access, ...
Although the iPhone does allow you to setup a lockscreen passcode, it doesn’t give much flexibility in choosing one, allowing you to set only a four-digit passcode. If that doesn’t pass your security ...