'doorlock' does not name a type

Then what did he mean.