To replace the throttle, first follow the wire away from the throttle about six inches where you will find a plastic bulge. This is the connector for the throttle and will split roughly in the middle when pulled apart. Please unplug that connector. This article may be helpful: Julet Connectors
Remove the locking grip completely; there are two screws on the front and back of the outer edge of the grip. If you need more detail, full instructions can be found here: Remove Grips - Bolt-On, 2022+
Loosen the brake lever and remove it. Most models will have two 4mm allen screws as shown below.
Loosen the throttle and remove it. Most models will have a single 3mm allen screw on the bottom.