Can I choose not to level up when I have the experience or not gain a perk when I have three check marks?
No. If you are in town and you have enough experience to level up, you are forced to do so, immediately gaining all benefits of leveling up. If you have three check marks, you must immediately gain a perk.