Strange behavior of dislocations of a certain type: Self-locking