2.8 locking object from selection I want to lock objects from getting selected, but not change their visibility.

2.8 removed the lock button from the outliner. How do you lock objects in 2.8?
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.