Datastore Saving with a shared key

I was thinking about datastores, and it’s common practice to use a Player’s UserId as the Key.
But if two players use the same “password” as a key, they could both edit, right?

So like Player1 and Player2 both input the same password key for a Datastore, they can both change it and log on at different times. Would this work or is this bad in practice?

If both users have access to the key then they can both use eachothers data, since data isn’t specific to players unless you use specific modules. It’d work, however peoples accounts could be hacked and I don’t really see the need for it.