If you still remember your Screen Time passcode, just go to Settings >Screen Time >Turn off screen time to disable the feature. If you still cannot get the original passcode, you can try either way introduced in the post above to remove & reset your Screen Time passcode, and then turn off it.