You can lock a Samsung Galaxy S10 with a swipe pattern, passcode, or password. You can also use facial and fingerprint recognition.
Locking the screen keeps you from accidentally moving the icons around, but if you want to change your layout, you'll need to ...