Use the files here and the steps below to configure a laptop to enable and disable fingerprint auth support in PAM when the lid is opened or closed.
NOTE: Currently not working is setting the correct state when the machine first boots. It is just whatever is last.
- Install
acpid - Enable
acpid
$ sudo apt install --assume-yes acpid