U-locks, folding locks and chains rated for higher-value bikes.
An e-bike is worth several times what a typical pedal bike is, and thieves know it. The battery alone can be a meaningful resale item. That changes the math on locks: a cable lock that was barely adequate for a department-store bike is simply not adequate for a 1,500 to 3,000 dollar e-bike left outside a coffee shop in Frisco Square or at a DART station. The right approach is a hardened U-lock or heavy chain as your primary lock, a secondary lock or cable for the wheels and accessories, and a habit of locking the frame to something that cannot be lifted or cut.
Lock ratings help cut through marketing. Sold Secure (UK) grades locks Bronze, Silver, Gold and Diamond, and many now carry a specific Powered Cycle or e-bike rating. ART (Netherlands) uses a star scale where two stars is a reasonable bicycle minimum and three or more stars is suited to higher-value bikes. For an e-bike, look for Sold Secure Gold or better, or ART three stars or better. Unrated locks may be fine, but you are taking the manufacturer's word for it.
No lock is uncuttable; the goal is to be harder than the bike next to you and to make a thief need a loud, slow tool. A 14 to 18 mm hardened shackle defeats bolt cutters and forces an angle grinder, which is noisy and draws attention. Pair that with a cable or second lock for the front wheel and seat, remove the battery and display if they detach, and register the bike's serial number. That combination stops the large majority of opportunistic theft.