The border authority knows who you are (from your passport). They can use that information to check
everything - phone records, Facebook, LinkedIn, Twitter, your purchase history, your credit references, etc. They don't have to simply accept you don't have any devices - they already know what devices you have and what you use them for. The only thing they don't have is direct access to your actual data. That's why they want your password. If you claim not to have a phone with you they simply won't let you in because you're not being open enough.
This is the modern world we live in. Decades of pervasive privacy intrusion by governments illegally sucking up all the data of foreign and domestic citizens has done this. It's hard to see any way back.