Build settings > Player settings > Resolution > Fullscreen Mode > Windowed
Then you can set your desired resolution. You might also want to uncheck "resizable window" option. Thanks for your comment and have a nice day!