Not the parent commentor, but I do something very similar with Tasker. Whenever my phone disconnects from one of a list of Bluetooth connections (like my watch or my car) or even if it just gets a solid jolt to the accelerometers, it goes into lockdown mode. This means the screen gets locked and biometrics can no longer be used to unlock it, requiring the entering of a PIN code to unlock.
Not the parent commentor, but I do something very similar with Tasker. Whenever my phone disconnects from one of a list of Bluetooth connections (like my watch or my car) or even if it just gets a solid jolt to the accelerometers, it goes into lockdown mode. This means the screen gets locked and biometrics can no longer be used to unlock it, requiring the entering of a PIN code to unlock.