Taking the sim out of an iphone 4?

I need to take the sim card out of my iphone 4 for a week, then put it back. So basically i just need the device to work like an ipod. I'm going somewhere phones are not allowed but ipods are, so airplane mode wouldn't work. So how do you take the sim card out? I do not have an unlocked iphone so will it work at all?

Don't try it

Use a paper clip and press into the hole on the side of iPhone. The SIM tray will pop out. Remove the SIM card, place in a safe place where you will remember it, and put the tray back.