Make sure your electronic devices are charged before you travel. If your device does not switch on when requested, you will not be allowed to take it onto the aircraft.
Ostensibly this is to make sure you don’t hollow out your laptop and fill it with explosives or drugs. But it exists.
Which is fine, nothing there states you have to do anything other than prove the device can be powered on. You can boot it up and show them the disk password prompt or BIOS, then turn it off again.
Works best if a different password boots a different OS that just has a few games on it. Dual purpose, can give it to { kids | TSA } to play with and not break anything.
If they can't make you enter the password, then it still doesn't give them access. If they can make you enter the password, then they had access anyway.