is the skill name typed correctly? Or did you type # in?
for example, player.setav lockpick 999 sets the player's lock to 999. This number does not count the bonus brought by the stream of attribute points.
I suggest you use modav to add and subtract the existing values.
Attach skill name: unlocking Lockpick trading Barter Science Sneak blasting Explosives missile weapon Melee Weapons Guns Speech energy weapon Energy Weapons Unarmed Survival medical Medicine Repair repair repair.