The new iPhone has features to make it harder for potential hackers to access the phone.