Hi Mohammedali, the throttle's key switch can not be used to switch the power on and off between the battery pack and controller as shown in your drawings because it has a low Amp rating and can only be used with controllers that have a key switch or power lock connector. If your controller does not have a key switch or power lock connector then the throttle's key switch will need to be used in conjunction with a power relay to turn the power on and off to the controller.
If you could upload photos of the controller and throttle as Pawel recommended that would be very helpful.
many thanks again ,i have ordered a controller with keylock funtion
hi will ignition switch on controller work same as keylock function
thank you esp youre the best.a truly fantastic web site with expert advice