There are some examples how to hide, or edit capabilities for the ACF edit screen:
https://www.advancedcustomfields.com/resources/how-to-hide-acf-menu-from-clients/
For example - hiding the ACF tab in the backend:
add_filter('acf/settings/show_admin', '__return_false');
-Or- restrict user to edit based on capabilities:
function custom_acf_show_admin( $show ) {
return current_user_can('manage_options'); // Change this to some capabilities that nobody has
}
add_filter('acf/settings/show_admin', 'custom_acf_show_admin');
More information about WordPress capabilities can you find here:
https://wordpress.org/documentation/article/roles-and-capabilities/
(You can also code some extra capabilities)