As said before, a lock does not stop the user reading the line.
Perhaps you could add a column to your table that is a bit, ie, 1 or 0. You could then have this bit set to 1 if you want it viewable, 0 if you don't want people to see it, you could then implement a view with only selects rows from the database which have a bit value of 1.
For example
I create a table called Employees which looks like this
Id | Name | Address | Salary | IsViewable
---|--------|--------------|--------|------------
1 | Bloggs | Fake address | 50000 | 0
2 | Parker | Fake address | 17000 | 1
You would then create a view with something like the following select statement...
SELECT Id, Name, Address, Salary
FROM Employees
WHERE IsViewable = 1
I hope this covers sort of what you're asking. This way you are able to stop people viewing lines that you don't want people to see. Additionally, you could lock that particular row if you wanted to as well, but really there would be no point.