Concept:
My application needs to record user activities on phone. Activities contain Foreground, Background, Kill, Lock and Unlock.
Your app is pretty much a sandbox within your device. Listening to unlock states is not tied to anything within your app.
Your next best hope is to do something like this, but I would not recommend it as it most likely violates private API's (This is iOS only): https://stackoverflow.com/a/14271705/1363779