Most BJJ practitioners can demonstrate the basic armlock from the guard, but actually catching your opponent in live rolling is another thing entirely. The most difficult part of getting the arm lock is:
1) Breaking the opponent’s strong posture
2) Getting the opponent’s elbow across the center line
Here is a video showing a highly effective grip / posture break that is a favorite of Roger Gracie.
Try this posture break and see how effective it is!