I am getting this is same issue after upgrading to 19.2.099. My device templates are locked.
I tried rebooting the vManage, and deleting/re-creating the user that it says has the templates locked. No luck.
Is there any workaround for this? Is there a way to forcibly unlock the templates?