Reaper lock tracks?

Hi all! Does anyone have any experience with locking tracks in reaper and using Ripple Edit? I’m looking to lock 2 tracks but allow ripple editing for everything else. I have tried locking all the items on the 2 tracks but this doesn’t seem to allow for ripple editing :(

Any advice is appreciated!