To change your restrictions passcode on an iPhone, you'll need to go into your Settings. Where you go from there depends on your iOS version.
In iOS 17, if you change your iPhone's passcode and forget it soon after, Apple offers you a 72-hour grace period to fix it without getting locked out of your device. Here's how it works. In iOS 17 ...