'doorlock' does not name a type

that is all of it.