'doorlock' does not name a type

Troll. I'm outa here.