Hello feemacbee,
After reviewing your post, it sounds like you are trying to turn off iCloud Keychain, and it asks you for the password, but then remains on. Make sure the iPhone is running the latest available iOS version.
Are you able to disable of iCloud features?
Are you using two-factor authentication?
Is the iPhone connected to Wi-Fi or cellular when you try to disable iCloud Keychain?
Update your iPhone, iPad, or iPod touch
"What happens when I turn off iCloud Keychain on a device?
When you turn off iCloud Keychain for a device, you're asked to keep or delete the passwords and credit card information that you saved. If you choose to keep the information, it isn't deleted or updated when you make changes on other devices. If you don't choose to keep the information on at least one device, your Keychain data will be deleted from your device and the iCloud servers. "
Set up iCloud Keychain
Please don't hesitate to let us know if the steps resolved your issue or if you need additional assistance.
Thank you for using Apple Support Communities. Have a nice day.