Hi,
There is a known issue with the migration when upgrading the database from 13.x to 16.2.0
Try to upgrade to 16.1.1 instead and it should work.
See the Github Issue for more information: Error upgrading from Umbraco 13 to 16: LockObject with id=-344 does not exist. · Issue #20037 · umbraco/Umbraco-CMS · GitHub