Contact AHJ. I have done this a couple of ways. Seems the Manufacturer's go the most cost effective way possible. I have never had to put a twistlok in but I did have to put the receptacle 6' from the pool. Which means the motor must be within 3' for the cord to reach.
Ob