If you forgot the passcode to your iPad, or the device has been disabled, you can restore and unlock it with a computer or ...
Locking the screen keeps you from accidentally moving the icons around, but if you want to change your layout, you'll need to ...