Locked config settings - MDN
I spend a lot of time searching the net for infos how to make configurations that can't be change by users and take effect on user who already have started FF and so already have their "own" prefs.js in their profile.
Here is the solution:
For me it doesn't work with encoding, so I used
Like it is written at the bottom of the first link.