How are Parental Restrictions Implemented?
The restrictions are a multitude of features and MDM/MCX controls that apple has for a long time delivered for corporate users and managers to control the OS. Since so many different restrictions can be configured, there is no one implementation. The code that enforces bed times and limits is implemented differently than changing finder to work in a restricted manner.