Hello Hannah Louise Madriaga,
Thanks for posting your concern here.
Please try to put your Surface to Tablet mode first. Select action center on the taskbar (next to the date and time), and then select Tablet mode to turn it on or off. Once you're in Tablet mode, go back to Display settings and turn Rotation lock off. Check if it allows you to rotate your device automatically.
If this answers your question, please let our Community know by marking this post as an answer. Otherwise, don't hesitate to respond to this thread if there’s anything else that needs to be addressed.