A rest window is a block of hours when the account takes no new trades. You set it on the account's Your limits page.
A window is a time and a time zone
"10pm" is not a time until you say where. A rest window is a clock time plus a time zone. When you move the window, it is saved in the time zone you are reading in. This matters: a window saved in one time zone and read in another is off by the hours between them.
In a strategy you build, the rest window asks for three things: the time zone, the start, and how long it lasts. It will not save until all three are filled in. A strategy saved without them shows the window it runs with written in: 10pm London, for eight hours.
Where you see it working
While a rest window is on, the Activity page's Everything else tab records each refused entry as your rest window being on.
What can go wrong
A window keeps the time zone it was saved in. If you change your own time zone in Settings, open the window and save it again, so it uses your new time zone.