Windows does not have a built-in feature that allows you to lock the mouse. However, you can lock the mouse using software like Keyboard Lock and Toddler Keys.