2.8 locking object from selection
The option to make objects not selectable still exists. On the top of the outliner window look for a filter icon (looks like a funnel).
Click on it and you will have access to other restriction toggle switches for the objects in the outliner.