The ability to lock rows is an upcoming feature yet to be released. However, there are a few means of achieving similar functionality today. You can set filters to restrict data users see and lock views. With the right filters and permission level, users can still edit exposed rows but not expose any other rows. Or you could create two workbooks, one that's locked down and another that's open and uses related rows to allow users to change some parts of the first workbook.
Filters are an easy way to focus on or hide rows for your view. You can filter your view to reduce large data sets down to the data you're most interested in or hide data you don't want to be touched.
To add a filter, click the Filter button and select . From there, choose a column to filter on and customize your filter. Your view can have multiple filters applied. Each new filter will further restrict the data shown either additively with the previous filters or as an alternative to the filter. In the Filter selector, this is differentiated by either selecting "And" or "Or" for your second filter. All filters after the second filter will default to the And or Or of the second filter.
For instance, you can set one filter to show applicants who have been background checked AND another filter for those that have an outstanding offer to show candidates you're ready to hire. Or you could set one filter for applicants who have been background checked OR were referred by a trusted source like an employee referral (a second filter).
See our article on filtering for more details.
Combining a filter with a locked view is a great way to both control which rows users see and then prevent users from the view or underlying data.
With view locking, you can control certain views so other users cannot change the filters, sorts, hidden columns, and other aspects of the view configuration. To lock a view, click the Lock this view button in the view toolbar or from the view’s context menu.
See our article on locking views for more details.
As noted above, see also our article on related rows to allow users access to particular rows from a locked or unshared workbook.