'doorlock' does not name a type

Sorry, but what is codenif.