Let's make apprentice created enchantments

The rules for a ward say that he target is the thing that is protected. In this case the protected thing is an opening. Whether an opening qualifies as a thing might be matter of debate, but I think it is a reasonable interpretation.