Editing locked factoids

This pull should fix the ability to edit locked factoids (Issue #27). It's my first commit to a public repo, so if anything is off, I will fix it.

Used an if statement to check the lock status of a factoid. If it is locked, it returns a message letting the sender know that they can't edit this factoid.