LPS-43111 Locked thread can be deleted when it is moved into a category

Hey Hugo,

I'm just doing what Sergio said https://github.com/sergiogonzalez/liferay-portal/pull/1169#issuecomment-33048537 and checking if the thread is locked, and if so then don't allow the user to move it.

Thanks.