App require phone have a pin for app to load / work?

I think I remember that requesting certain types of information / privacy-related access requires that the phone have a pin? Maybe location services? Anyway, is there a way for an app to require that a phone have a pin for the app to work?