How do you restrict or fiilter group of users from Showing up in SharePoint Online PeoplePicker

%3CLINGO-SUB%20id%3D%22lingo-sub-672880%22%20slang%3D%22en-US%22%3EHow%20do%20you%20restrict%20or%20fiilter%20group%20of%20users%20from%20Showing%20up%20in%20SharePoint%20Online%20PeoplePicker%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-672880%22%20slang%3D%22en-US%22%3E%3CP%3EOn%20SharePoint%20onprem%20we%20have%20to%20filter%20where%20students%20are%20excluded%20from%20the%20people%20picker%20so%20only%20the%20Scholl%20Staff%20will%20display%26nbsp%3B%3C%2FP%3E%3CP%3EOn365%20Sharepoint%20when%20we%20search%20on%20people%20picker%20both%20students%20and%20staff%20will%20display.%20Is%20there%20a%20way%20i%20can%20restrict%20by%20groups%20or%20based%20on%20OU%3F%26nbsp%3B%20Can%20it%20be%20done%20based%20on%20a%20User%20Profile%20property%20or%20is%20there%20a%20custom%20people%20picker%20available%20for%20SPO%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-672880%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

On SharePoint onprem we have to filter where students are excluded from the people picker so only the Scholl Staff will display 

On365 Sharepoint when we search on people picker both students and staff will display. Is there a way i can restrict by groups or based on OU?  Can it be done based on a User Profile property or is there a custom people picker available for SPO