Yes, you can park your BMW or drive out of a parking space with the "Remote Control Parking" function of the My BMW App. After you have finished a parking operation, you can select in the menu "Remote Control Parking" whether you want to turn off the engine of your BMW and lock the vehicle.
Link to watch How-to video: Digital Key Remote Controls in the My BMW App | BMW USA
