LPS-43111 Locked thread can be deleted when it is moved into a category
LPS-43111 Protect logic from move locked threads
LPS-43111 Move lock check to the remote service (as in deleteThread)