Locking from the bathroom would allow a guest to prevent a host from accidentally entering the loo while its in use, but allow a guest to easily snoop in the hosts' bedroom.
Locking from the bedroom would allow for the (low) chance of a host barging in on the WC, but would nearly negate the chance of a guest entering the master bedroom.
I suppose being able to lock on both sides would be the best of both worlds (though it would require me finding a new latch/lock at the hardware store that allows for that) as the only downside would be having to walk "the long way" every once in a while to unlock the other side.
It's awkward as I don't want a mischievous visitor to snoop but I also don't want a guest to feel like I might suddenly open the pocket door from the bedroom side.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!