How to make unlocking the phone using the password perform a specfic function?
The Xposed module PIN/Pattern Shortcuts allows this behaviour. To use, you must:


Root your phone
Install Xposed Framework
Install PIN/Pattern Shortcuts module, enable from Xposed app and reboot