...
Okay, then lets go step by step shall we?
...
Okay, now open up RPG Maker XP, Select New project or Open Existing Project, your choice.
...
Create a common event called lockpick(or whatever you would like to name it) Make sure it's trigger is None
...
Set a conditional branch to check what the lock picking variable is at, if it's less than 5 then set the percentage of completing a hard lock to 25%(25), to a medium lock to 50%(50) and to an easy lock 75%(75) etc...
...
Keep going untill you have as much Lockpicking levels as you want.
...
Now create a new common event called Lockpicking Percentage!
...
Check the lockpicking percentage in the percentage variable and run a random variable to mix up the completion variable you need to set
...
Make it like 1..100, then check if the percentage is above that number given
...
This will make it were you can break locks
...
If it's above it then the door unlocks, activating a switch, and increasing the variable [lockpicking level]. If it's below then there is text saying "You broke a lockpick"[Lose lockpick x1], then ask the player if he/she want's to restart
...
If they do then just call the common event, that easy...
...
If you don't understand then I'll create a demo for you to demonstrate it. Although I suggest you play with it untill you get it, otherwise half the request boards will have your name on the author and people will just start to ignore it.
If you want help, at least try to make it yourself before you request, because this request is so easy to do.