You can build your own Framework like Initialize two different mobile devices and save it into on a hashmap with the different key(device1, device2). And you can do interaction with two different devices.
1. Generate pin from one device.
2. Apply device1 generated pin on device2 to unlock.