To see your current security level, use: sysctl kern.securelevel
To modify your security level, change the level in /etc/rc.conf and reboot. The variables are:
Good man pages to look at include: