Short answer: Wearing wigs is typically prohibited in Islam, especially for beauty purposes, but it is allowed when used to remove defects such as hair loss from illness or accidents.
Some scholars have elaborated that these doors are found inside Jannah (Heaven) after a believer enters the main door of heaven, then that person will pass through these doors.