[REBUILD/UPGRADE REQUIRED] Fix Remove Locks functionality

Fix Remove Locks functionality. It wasn't using the class-based processor and would error when the resource tree wasn't focussed upon refresh (resulting in all resource tree nodes being removed).