I use this U-Lock to lock up my XP. It fits the rear wheel too. You can also use the same lock or the other one to lock the frame up w added cables. It may vary depending on how thick or thin the bike rack is.
https://preview.redd.it/s4uoy56onqra1.jpeg?width=4032&format=pjpg&auto=webp&v=enabled&s=2344183d1c0e7306d36a6083bf8ccd7747b20cb0