Keys should also be looked after. Each lock (door and window) have their own keys. Rusty, broken or skew keys can let you be stuck inside or outside your home. It is also a soft target for criminals if the key gets broken inside the lock.
Windows, like doors, should have the right lock. Everything window is unique and should have the right lock fitted. Different windows should have the lock installed for their specific need.