By default SQL does the locking for you. There are of course different lock levels and performance issues you make want to consider
I am curious as to why would you want the user of your application to lock a particular row, in the event the user opens the record and does not updated that will escalated other locks; page, table and db locks if others have to update information within that table.
But anyhow books on line has information on row level lock works. and this article gives good information on how to accomplish your task.
http://www.sql-server-performance.co...ocks_hints.asp