|Is this a new memory card or one you've been using and it all of a sudden started acting up? Many SD cards have a tab on the side you move from locked to unlock. So check that first. Even if it's a card you've been using maybe someone else messed with it.|
If it's a new card it probably needs to be formatted first, although I don't know if an unformatted card would give a locked message.