Even without the race condition issues (you could give it directly to a trusted miner), such transactions have the problem that if anyone guesses it's a password protected output they can try to brute force it. Many users would select weak passwords that were too short to withstand brute forcing and lose their money. It's not a good idea to encourage such usage patterns.