For years, Apple didn't provide a built-in way to lock apps with a passcode or biometric authentication unless the app itself offered the option. Thankfully, with iOS 18, this feature is now available on all compatible iPhones. Here's how you can set it up.