How to block certain apps at certain times?

To block certain apps at specific times, both iPhones and Android devices offer built-in features and third-party applications.

For iPhones:

For Android Devices: