There are currently insufficient tools to deal with that situation
There are currently insufficient tools to deal with that situation
It will never be possible to deal with that situation.
Its also why many governments have taken to locking people up until they give up their passwords.
Its a scenario that has been immortalised in the famous XKCD wrench conundrum: https://xkcd.com/538/
The only real way to deal with it is to get away from the situation and remote wipe (or hope they type in your password wrong N times so local wipe happens)
Those consequences are design choices - convenience over security. There could be features (tighter Face ID, multiple passcodes, etc) that reduce the blast radius of a leaked iPhone passcode. But Apple hasn’t implemented them. It hasn’t given users the tools to protect themselves, if they value that more than convenience.