Locked sim by mistake

Highlighted

Locked sim by mistake

I accidentally locked my sim by going through my settings am I able to fix it without going to the store like online or something I have 10 tries for the code?