Peacocks with open screens are all male peacocks. Male peacocks have bright feathers, while female peacocks have ordinary feathers. They will attract female peacocks by opening the screen window.
Proud as a peacock is not only for courtship, but also a defensive behavior. Its feathers have eye-like marks, which can confuse and deter natural enemies after opening the screen.
Peacock's most prosperous stage is spring, that is, March-April, which is its breeding season, laying 5-6 eggs at a time.