Apple's activation lock is pretty secure, a jailbreak attempt probably won't do much
Depending on what version of iOS that iPhone has there might not even be an available jailbreak, that iPhone appears to be a XR so it unfortunately can't use the checkm8 exploit (which is hardware level) and there hasn't been a timely jailbreak for an iOS update since iOS 14 and unc0ver, the jailbreaking scene is kind of dead unfortunately