depending on the hotel, they may have safes in their rooms. you can choose the code for the safe (write it down), then leave your laptop in there. a respectable hotel will have some liability that if your stuff is stolen or broken into, that you may be able to work with the hotel to compensate.
it's best to back up your important files on an external hard drive if you have one, or a cloud drive like google cloud, apple icloud, or another service like carbonite. you can get external hard drives though for pretty cheap.