Open Steam
Click your username in the top-right corner
Select “Friends”
Click the status dropdown next to your name
Choose “Offline”
(Optional) If you want to stay offline while still using Steam: keep “Offline” selected and avoid launching games that force online status
