How can i make an app that starts when the phone is unlocked?

just wanted to know that how can i start or run a project when the phone starts.

Use an “AppStarter” app from Google Play

e.g. Auto Start