Key repeat getting reset

I have the key repeat rate set with dconf

dconf write /org/cinnamon/settings-daemon/peripherals/keyboard/delay "uint32 150"
dconf write /org/cinnamon/settings-daemon/peripherals/keyboard/repeat-interval "uint32 10"

But after the computer stays on for a while the setting changes to the default. Writing the above commands again doesn’t fix it so it must be changed in some other way than with dconf. All other dconf configurations I have keeps working normally.

I can use the shortcut Ctrl + Alt + Escape to restart Cinnamon as a workaround, or right click the panel → Troubleshoot → Restart Cinnamon.

I’ve had this same problem for a few months and I haven’t been able to figure out what is changing the settings. Is there any way for me to know if there is a program changing the settings?