SWORD1: Error our in case the resource handle is not found in lockScript

This should never happen, so as per wjp suggestion makes this an error.