Is buying BTC on localbitcoins.com safe?
It's a reputable website, but it's really up to the person you are buying from. 

Do your research, choose a person with good reputation, make sure you understand how the escrow system works, and under no circumstances release escrow early.