LockWP will work, but not if the unit is between WPs. If lockWP TRUE and the unit is between WPs then the unit will stop when it reaches its next WP. Plus if you read the COMREF entry for the lockWP command, you will see it needs to be applied to the unit's group, not the individual.
Trygroup sold lockWP TRUE