Hi AppleBoy123,
If you want to prevent password from being changed, you can set up another passcode for ScreenTime and use the Content & Privacy Restrictions to prevent changes to your account.
This can be really helpful if you're managing your child's account and they have their own passcode to enter their device:
Use parental controls on your child's iPhone, iPad, and iPod touch
Allow changes to other settings and features
"You can allow changes to other settings and features, the same way you can allow changes to privacy settings.
- Go to Settings and tap Screen Time.
- Tap Content & Privacy Restrictions. If asked, enter your passcode.
- Under Allow Changes, select the features or settings that you want to allow changes to and choose Allow or Don't Allow.
Here are some features and settings that you can allow changes for:
- Passcode Changes: Prevent changes to your passcode
- Account Changes: Prevent account changes in Accounts & Passwords
- Cellular Data Changes: Prevent changes to cellular data settings
- Reduce Loud Sounds: Prevent changes to volume settings for safe listening
- Driving Focus: Prevent changes to the Driving Focus
- TV Provider: Prevent changes to TV provider settings
- Background App Activities: Prevent changes to whether or not apps run in the background"
Use parental controls on your child's iPhone, iPad, and iPod touch
Set up that Screen Time passcode, and make sure you don't share that with the user of the device.
If this is for your own personal iPhone, it's a security feature for you to be able to recover your account from trusted devices. Change your passcode and don't share it with anyone else if you don't want them to have access to your trusted device.
Thanks for using the Apple Support Communities.