It seems not much client support encrypt your nsec with password yet, but you can use nostr-tools to encrypt it https://github.com/nbd-wtf/nostr-tools/blob/master/nip49.ts then use *encrypted* nsec to login to which client support it, like amethyst