Hello Garion,
While I can't see a way to edit max_locks_per_transaction within an environment, you can change the maximum number of db connections.
You'll find details on how to do it here, at the bottom of the page: https://docs.mendix.com/howtogeneral/support/mendix-customsettings-tricky
Hope this helps