If I'm going somewhere I'll need to lock my trailer (Burley Travoy), I carry my noose chain and use that to lock both the e-bike and the trailer, running the chain through the trailer frame. Generally, I take my trailer with me due to its design and easy use as a shopping cart, but obviously that won't be the case for most trailer designs.