窓に

on the window

→ 窓
phrase Uncommon #16,967
on the window に marks the window as a location or target; the natural English preposition depends on the verb, such as “at,” “on,” or “against.”
JA: 窓に小さな鳥が止まっている。
EN: A small bird is perched on the window.

寝る前に窓に鍵をかけなさい。

Lock the windows before going to bed.

青い窓に閉じ込められた少女

A girl trapped in a blue window

— When Marnie Was There (2014)

彼女は窓に美しいカーテンをかけた。

She hung beautiful curtains on the window.

ビリさんは顔を窓によくぶつける。

Billy often bumps his face against the window.

窓にニワトリのない家だ

It’s a house without a chicken at the window.

— フィールド・オブ・ドリームス (1989)

彼女は窓にカーテンをつけた。

She put curtains on the window.

窓に顔が現れた。

A face appeared at the window.

雨が窓に激しく当たっている。

The rain is pounding against the window.

窓にカーテンが掛かっていた。

There were curtains hanging over the window.

マーカスこの窓に見覚えがある

Marcus, this window looks familiar.

— インディ・ジョーンズ/最後の聖戦 (1989)

窓に近づくな

Don't go near the window.

— レオン (1994)