How can I enable keyboard shortcut preference after modifying it through `defaults write com.apple.symbolichotkeys AppleSymbolicHotKeys`? I modify keyboard shortcut by defaults command.
For example,
# Disable &quot;Search word in terminal man page index&quot;
defaults write com.apple.symbolichotkeys AppleSymbolicHotKeys -dict-add 124 &quot;&lt;dict&gt;&lt;key&gt;enabled&lt;/key&gt;&lt;false/&gt;&lt;key&gt;value&lt;/key&gt;&lt;dict&gt;&lt;key&gt;parameters&lt;/key&gt;&lt;array&gt;&lt;integer&gt;65535&lt;/integer&gt;&lt;integer&gt;26&lt;/integer&gt;&lt;integer&gt;262144&lt;/integer&gt;&lt;/array&gt;&lt;key&gt;type&lt;/key&gt;&lt;string&gt;standard&lt;/string&gt;&lt;/dict&gt;&lt;/dict&gt;&quot;

# Change &quot;Move focus to next window&quot; shortcut to Alt + Tab
defaults write com.apple.symbolichotkeys AppleSymbolicHotKeys -dict-add 27 &quot;&lt;dict&gt;&lt;key&gt;enabled&lt;/key&gt;&lt;true/&gt;&lt;key&gt;value&lt;/key&gt;&lt;dict&gt;&lt;key&gt;parameters&lt;/key&gt;&lt;array&gt;&lt;integer&gt;65535&lt;/integer&gt;&lt;integer&gt;48&lt;/integer&gt;&lt;integer&gt;524288&lt;/integer&gt;&lt;/array&gt;&lt;key&gt;type&lt;/key&gt;&lt;string&gt;standard&lt;/string&gt;&lt;/dict&gt;&lt;/dict&gt;&quot;

How can I enable to work them without restart OS?
I expect there are some Input Service and need to restart it.
ex. killall SomeInputService
On macos Big Sur 11.2.1 I have been able to resolve this problem. This solution applies to com.apple.symbolichotkeys plist for OS wide shortcuts as well as trackpad related plists.
After running the default write ... commands, run the following command.
/System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u

From my experience, it will read the plists and force them to take effect.
You may need to ensure the System Preferences app is not running before you run the command.
Some log output will be available if you run this before:
defaults write com.apple.activatesettings log true

However there is no output about parsing the com.apple.symbolichotkeys plist although it seems to read that plist.