If you set it outside of the maximum of what your panel can support, you'll get an Out Of Range message on your display - or in the case with a laptop, probably just a black screen. Then you'd have to boot into VGA Mode in Windows in order to fix/reset the resolution.
If you want a higher res than what your built-in panel can support...you'll need to either use an external monitor that supports a higher res, or replace the panel itself with a higher res version, if one is available. You can check https://www.laptopscreen.com/
for replacement/compatible panels for your laptop brand/model.