Can't unlock device from OCS sync.
Device imported from OCS are stored in glpi_ocslinks.import_device
So a manually deleted device (proc, mem, ...) is locked and ignored in next OCS sync.So this should be managed in OcsServer::editLock() to
- be reported as locked
- be able to unlock