Create an HCM Exclusion Rule
You can use HCM exclusion rules in person security profiles to exclude some records. For example, you could use an HCM exclusion rule to exclude person records if they're in the HR department or a particular manager hierarchy.
For details, see the topic Create an HCM Exclusion Rule.