Fixed lock and ignore (READ)

NOTE: You MUST add two extra columns to your database (locked and
ignored).