Prosecutors say the security guard admitted to the stunt because she wanted to "leave work early."