Perhaps your iPad is centrally managed by a business/enterprise or a school/educational establishment? If so, a restrictive policy may be applied that restricts various elements of your iPad configuration. If this is the case, you'll not be able to change the locked setting(s) without assistance from the System Administrator that manages your iPad.
If your iPad is definitely not centrally managed, it may be necessary to reset your iPad settings. While this reset will not cause any loss of data, as a precaution, it is always wise to ensure that you have a current iCloud or iTunes backup before performing the reset:
How to back up your iPhone, iPad, and iPod touch - Apple Support
When you are happy to proceed, you can perform the reset from iPad settings:
Settings > General > Transfer or Reset iPad > Reset > Reset All Settings
If the problem still doesn’t clear, you would be best advised to seek assistance directly from Apple Support. You can contact the Support Team using the Support link at top-right or bottom-left of this page. Alternatively and perhaps easier, you can initiate and manage your support cases using the excellent Apple Support App. If not already installed on your iPad, the App can be downloaded from the App Store:
https://apps.apple.com/app/apple-support/id1130498044