Import these tasks.
This will allow you to unlock Ubuntu system with your phone fingerprint reader. Extend as you like.
No additional software required on Ubuntu system except wifi connection.
Requirements:
Autotools for fingerprint verification.
Autoremote to send commands.

Fingerprint Unlock Ubuntu 2017-01-19
Lock and Unlock Ubuntu with Fingerprint