I've always written my dreams down on my Iphone. I use the 'Lucid Dream Ultimate' app, it does have a password lock. It also has reality checks reminders, but I never use them features.

Or you can use the 'Awoken' app for android, also has a password lock.