Locking her in the bathroom creates a disassociation with the praise. You are praising her when you come in and see her again. She does not associate it with going potty where she should. This is your problem.
 
You have to be there WHILE they are doing it and praise them for it. Then they know they got the good girl and the treat for going potty on the pad. Right now she gets praise for you coming in the bathroom to see her... not exactly the message you want to send her.  
This is the same is post correction, except it is post praise. The dogs don't get it. I recommend trying it nana911's way. You can still have the patch in the bathroom if you like, but you have to stay with her. Once you notice she's performing I have to go behaviors (like sniffing and circling, etc. you'll pick them up as you become more familiar with her) you need to pick her up and take her to the potty spot. Tell her good girl go potty! If she gets off the pad or goes running out (which she might if she doesn't appreciate having been trapped in the bathroom for 30 min previously) you need to catch her and bring her back and put her on the pad and say good girl go potty. Keep doing it until she goes on the pad and then praise praise praise. nana911's way is nice because it stops the "chasing" phase to keep her on the pad.  
You have to be there with her or the message is lost. Keeping her in the bathroom without you until she goes does NOT send the message you think it does. I hope this helps! Good luck!