In cryptography, rubber-hose cryptanalysis is a euphemism for the extraction of cryptographic secrets (e.g. the password to an encrypted file) from a person by coercion or torture—such as beating that person with a rubber hose, hence the name—in contrast to a mathematical or technical cryptanalytic attack.
Thanks for reminding me of this XKCD gem!
https://xkcd.com/538/
https://en.wikipedia.org/wiki/Rubber-hose_cryptanalysis
There’s also just the social engineering side of it. I guessed my father’s door code just because I know his birthdate.