Link. Press and hold the power button and either volume button to hard-lock an iPhone or iPad. “Remember to do this every time you’re separated from your phone, like when going through the magnetometer at any security checkpoint, especially airports.”