Don't seem to be able to add/remove form mode permissions in Drupal 10.2
Upgrade a site to Drupal 10.2, try changing form mode permissions.
Active
2.1
Miscellaneous
Workaround:
Edit configuration to remove non-existent permissions, contained in user.role.*.yml configuration files.
user.role.*.yml