In Settings > System > System update I have toggled on the "Require device to be charging" option and toggled off the "Automatic reboot" option. Despite these settings, my device seems to still be installing updates and rebooting on its own. I'm currently running build number 2024120200 on my Pixel 7.