But you can easily switch the other computer to Dvorak as well. Meanwhile anyone else trying to type on your keyboard cannot temporarily reverse to a common layout.
It’s a bit of a pain sometimes though, for example, when installing a new OS (not all offer all key maps during install), or when you’re not sure if an interviewer will ask you to type on a laptop that you didn’t bring, or if you have a mildly different layout that you prefer that isn’t in the default install of the various OSs
But you can do that by changing the default layer.