Is it possible to lock a phone to a single computer/laptop, as with iOS's Apple Configurator for MacOS devices with iPhones and iPads?

This configuration prevents any connection to any other computer, with the option to NEVER accept the connection, or require a second password to authorize the connection.
The device, of course, can still be manually searched when the PIN is entered, or unlocked, but even with that, forensic tools used to recover or copy data will not work at any stage.