If you think you are entering a situation where your iPhone could be taken from you and used against you, the best thing to do is turn it off, and turn it back on only after you leave that situation. iPhones are the most resistant to physical attacks before you unlock them with your passcode. Lockdown Mode doesn’t make your phone safer against attacks where your adversaries are in possession of your phone (as of iOS 18).